Fix unit test TestOperatorAutopilotGetConfigCommand (#4594)

pull/4593/merge
Pierre Souchay 2018-08-27 19:29:25 +02:00 committed by Freddy
parent aea31d3c5d
commit 5e0218ccf4
1 changed files with 1 additions and 0 deletions

View File

@ -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