From df4057f64814bd47d7f2fa2051fa3b7368a1ddf1 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Tue, 27 Oct 2020 12:05:40 +0000 Subject: [PATCH] Revert "Force test failure in an existing flaky test" This reverts commit c6957e69d585e576e1774d337201e2b768b53b89. --- .../elastic-agent/pkg/agent/application/fleet_gateway_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/x-pack/elastic-agent/pkg/agent/application/fleet_gateway_test.go b/x-pack/elastic-agent/pkg/agent/application/fleet_gateway_test.go index 4c4b9170ea4..cfcd1f46994 100644 --- a/x-pack/elastic-agent/pkg/agent/application/fleet_gateway_test.go +++ b/x-pack/elastic-agent/pkg/agent/application/fleet_gateway_test.go @@ -162,7 +162,7 @@ func wrapStrToResp(code int, body string) *http.Response { } func TestFleetGateway(t *testing.T) { - t.Fatal("for testing the flaky test reporting for an existing flaky test") + agentInfo := &testAgentInfo{} settings := &fleetGatewaySettings{ Duration: 5 * time.Second, @@ -379,7 +379,6 @@ func TestFleetGateway(t *testing.T) { } func TestRetriesOnFailures(t *testing.T) { - t.Fatal("for testing the flaky test reporting for an existing flaky test") agentInfo := &testAgentInfo{} settings := &fleetGatewaySettings{ Duration: 5 * time.Second,