We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa2a03d commit 0165a95Copy full SHA for 0165a95
testing/integration/ess/otel_test.go
@@ -140,7 +140,9 @@ service:
140
141
// stop the collector and check that it emitted logs indicating a graceful shutdown
142
require.NoError(t, cmd.Process.Signal(os.Interrupt))
143
- require.NoError(t, cmd.Wait())
+ if waitErr := cmd.Wait(); waitErr != nil {
144
+ assert.ErrorContains(t, waitErr, "signal: interrupt")
145
+ }
146
assert.Contains(t, output.String(), "Shutdown complete")
147
}
148
0 commit comments