From be4bf09cc58c977dc534507c5c8f472d0b800e02 Mon Sep 17 00:00:00 2001 From: Shaunak Kashyap Date: Tue, 7 Apr 2020 15:07:21 -0700 Subject: [PATCH] Renaming tests --- libbeat/publisher/pipeline/output_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libbeat/publisher/pipeline/output_test.go b/libbeat/publisher/pipeline/output_test.go index 0dc678ef82c2..2d6d3352d3f6 100644 --- a/libbeat/publisher/pipeline/output_test.go +++ b/libbeat/publisher/pipeline/output_test.go @@ -39,7 +39,7 @@ var ( SeedFlag = flag.Int64("seed", 0, "Randomization seed") ) -func TestPublish(t *testing.T) { +func TestMakeClientWorker(t *testing.T) { tests := map[string]func(uint) publishCountable{ "client": newMockClient, "network_client": newMockNetworkClient, @@ -79,7 +79,7 @@ func TestPublish(t *testing.T) { } } -func TestPublishWithClose(t *testing.T) { +func TestMakeClientWorkerAndClose(t *testing.T) { tests := map[string]func(uint) publishCountable{ "client": newMockClient, "network_client": newMockNetworkClient,