Convert app/web_hub_test.go t.Fatal calls into assert/require… (#12222)

Этот коммит содержится в:
Nikhil Ranjan
2019-09-24 14:44:01 +00:00
коммит произвёл 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")
}
}