fix TestSignal test

Signed-off-by: Manjunath A Kumatagi <mkumatag@in.ibm.com>
This commit is contained in:
Manjunath Kumatagi 2022-11-24 07:43:18 +00:00 committed by Manjunath A Kumatagi
parent b6a3594710
commit 0bc46ec92c
No known key found for this signature in database
GPG Key ID: CEE6C126C13D4EF8

View File

@ -189,7 +189,8 @@ func TestSignal(t *testing.T) {
go func() {
defer close(donec)
err = ep.Close()
assert.ErrorContains(t, err, "unexpected exit code [-1] after running [/usr/bin/sleep 100]")
assert.ErrorContains(t, err, "unexpected exit code [-1]")
assert.ErrorContains(t, err, "sleep 100")
}()
select {
case <-time.After(5 * time.Second):