diff --git a/agent/checks/check_test.go b/agent/checks/check_test.go index a3f89efe9e..4a652b09e0 100644 --- a/agent/checks/check_test.go +++ b/agent/checks/check_test.go @@ -646,7 +646,7 @@ func TestCheck_Docker(t *testing.T) { fmt.Fprint(w, "some output") }, }, - out: regexp.MustCompile("^start exec failed for container 123 with status 999: some output$"), + out: regexp.MustCompile("^start exec failed for container 123 with status 999: body: some output err: $"), state: api.HealthCritical, }, {