Remove timeout and call to Fatal from goroutine (#7797)

This commit is contained in:
Freddy 2020-05-06 14:33:17 -06:00 committed by GitHub
parent 65af2a323c
commit a749f46316
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 6 deletions

View File

@ -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)