mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
fix TestSignal test
Signed-off-by: Manjunath A Kumatagi <mkumatag@in.ibm.com>
This commit is contained in:
parent
b6a3594710
commit
0bc46ec92c
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user