Skip to content

Commit

Permalink
Fix data race issue in tests. (elastic#19894)
Browse files Browse the repository at this point in the history
  • Loading branch information
blakerouse authored and melchiormoulin committed Oct 14, 2020
1 parent 49cc7c3 commit 98464c9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion x-pack/elastic-agent/pkg/core/server/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ func TestServer_UpdateConfig(t *testing.T) {
cImpl := &StubClientImpl{}
c := newClientFromApplicationState(t, as, cImpl)
require.NoError(t, c.Start(context.Background()))
require.NoError(t, c.Start(context.Background()))
defer c.Stop()

// clients should get initial check-ins then set as healthy
Expand Down

0 comments on commit 98464c9

Please sign in to comment.