node: update test root context teardown time
Otherwise things get really sad.
This commit is contained in:
parent
83c4186a46
commit
6c408607cc
|
@ -841,7 +841,7 @@ func runConsensusTests(t *testing.T, testCases []testCase, numGuardians int) {
|
||||||
<-rootCtx.Done()
|
<-rootCtx.Done()
|
||||||
assert.NotEqual(t, rootCtx.Err(), context.DeadlineExceeded)
|
assert.NotEqual(t, rootCtx.Err(), context.DeadlineExceeded)
|
||||||
zapLogger.Info("Test root context cancelled, waiting 10ms for everything to shut down properly...")
|
zapLogger.Info("Test root context cancelled, waiting 10ms for everything to shut down properly...")
|
||||||
time.Sleep(time.Millisecond * 10)
|
time.Sleep(time.Millisecond * 50)
|
||||||
}
|
}
|
||||||
|
|
||||||
type testCaseGuardianConfig struct {
|
type testCaseGuardianConfig struct {
|
||||||
|
|
Loading…
Reference in New Issue