Remove timeout and call to Fatal from goroutine (#7797)
This commit is contained in:
parent
65af2a323c
commit
a749f46316
|
@ -485,12 +485,6 @@ func TestManager_deliverLatest(t *testing.T) {
|
|||
Port: 2222,
|
||||
}
|
||||
|
||||
// Put an overall time limit on this test case so we don't have to guard every
|
||||
// call to ensure the whole test doesn't deadlock.
|
||||
time.AfterFunc(100*time.Millisecond, func() {
|
||||
t.Fatal("test timed out")
|
||||
})
|
||||
|
||||
// test 1 buffered chan
|
||||
ch1 := make(chan *ConfigSnapshot, 1)
|
||||
|
||||
|
|
Loading…
Reference in New Issue