1 parent
a2ef14283b
commit
d951e1ebc1
16 files changed
+241
-229
No files matched your search
@@ -215,7 +215,7 @@ func TestReloadControllerDatabase(t *testing.T) {
|
||||
require.NoError(t, row.Scan(&lock))
|
||||
require.Equal(t, 1, lock)
|
||||
|
||||
close(cmd.ShutdownCh)
|
||||
cmd.ShutdownCh <- struct{}{}
|
||||
wg.Wait()
|
||||
}
|
||||
|
||||
@@ -317,7 +317,7 @@ func TestReloadControllerDatabase_InvalidNewDatabaseState(t *testing.T) {
|
||||
require.NoError(t, row.Scan(&lock))
|
||||
require.Equal(t, 1, lock)
|
||||
|
||||
close(cmd.ShutdownCh)
|
||||
cmd.ShutdownCh <- struct{}{}
|
||||
wg.Wait()
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user