From 5e0218ccf4f4cbbf2b6799ee865dc87fb83a0a9c Mon Sep 17 00:00:00 2001 From: Pierre Souchay Date: Mon, 27 Aug 2018 19:29:25 +0200 Subject: [PATCH] Fix unit test TestOperatorAutopilotGetConfigCommand (#4594) --- agent/proxy/daemon_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/agent/proxy/daemon_test.go b/agent/proxy/daemon_test.go index 9ea552299a..80fb9b533e 100644 --- a/agent/proxy/daemon_test.go +++ b/agent/proxy/daemon_test.go @@ -449,6 +449,7 @@ func TestDaemonRestart_pidFile(t *testing.T) { require.NotEmpty(pidRaw) // Delete the file + require.NoError(os.Remove(pidPath)) require.NoError(os.Remove(path)) // File should re-appear because the process is restart