From d130131a88dabe18c3d6d4f5a2c4c70ec1d73f03 Mon Sep 17 00:00:00 2001 From: Nikhil Ranjan Date: Tue, 24 Sep 2019 14:44:01 +0000 Subject: [PATCH] =?UTF-8?q?Convert=20app/web=5Fhub=5Ftest.go=20t.Fatal=20c?= =?UTF-8?q?alls=20into=20assert/require=E2=80=A6=20(#12222)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/web_hub_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/web_hub_test.go b/app/web_hub_test.go index dc141695b6..27b922a3a3 100644 --- a/app/web_hub_test.go +++ b/app/web_hub_test.go @@ -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") } }