mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 13:55:55 +00:00
Remove timeout and call to Fatal from goroutine (#7797)
This commit is contained in:
parent
59b03b18d0
commit
b069887b2a
@ -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…
x
Reference in New Issue
Block a user