From b252d712df2e57f0c4531f6db6cf034c344dc29c Mon Sep 17 00:00:00 2001 From: Nick Ethier Date: Wed, 20 Mar 2019 21:37:17 -0400 Subject: [PATCH] logmon: fix test assertion --- client/logmon/logmon_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/logmon/logmon_test.go b/client/logmon/logmon_test.go index 1cd6abe9a..4e97a3ea7 100644 --- a/client/logmon/logmon_test.go +++ b/client/logmon/logmon_test.go @@ -120,7 +120,6 @@ func TestLogmon_Start_restart(t *testing.T) { require.NoError(err) stderr, err = fifo.Open(stderrFifoPath) require.NoError(err) - require.False(impl.tl.IsRunning()) _, err = stdout.Write([]byte("te")) require.NoError(err) testutil.WaitForResult(func() (bool, error) { @@ -132,6 +131,7 @@ func TestLogmon_Start_restart(t *testing.T) { }, func(err error) { require.NoError(err) }) + require.False(impl.tl.IsRunning()) // Start logmon again and assert that it appended to the file require.NoError(lm.Start(cfg))