Convert app/web_hub_test.go t.Fatal calls into assert/require… (#12222)
Этот коммит содержится в:
коммит произвёл
Ben Schumacher
родитель
4faf8a96b9
Коммит
d130131a88
@@ -100,6 +100,6 @@ func TestHubStopRaceCondition(t *testing.T) {
|
||||
select {
|
||||
case <-done:
|
||||
case <-time.After(15 * time.Second):
|
||||
t.Fatalf("hub call did not return within 15 seconds after stop")
|
||||
require.FailNow(t, "hub call did not return within 15 seconds after stop")
|
||||
}
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user