mirror of https://github.com/hashicorp/consul
Fix unit test TestOperatorAutopilotGetConfigCommand (#4594)
parent
aea31d3c5d
commit
5e0218ccf4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue