tag all process logs with its ID (#103)

Makes identifying Process of log messages easier
This commit is contained in:
Benson Wong
2025-04-25 12:58:25 -07:00
committed by GitHub
parent 5fad24c16f
commit 06eda7f591
2 changed files with 26 additions and 27 deletions

View File

@@ -337,6 +337,6 @@ func TestProcess_ExitInterruptsHealthCheck(t *testing.T) {
process := NewProcess("sleepy", checkHealthTimeout, config, debugLogger, debugLogger)
process.healthCheckLoopInterval = time.Second // make it faster
err := process.start()
assert.Equal(t, "upstream command exited prematurely with no error", err.Error())
assert.Equal(t, "upstream command exited prematurely but successfully", err.Error())
assert.Equal(t, process.CurrentState(), StateFailed)
}