summaryrefslogtreecommitdiffhomepage
path: root/runsc/specutils/specutils_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'runsc/specutils/specutils_test.go')
-rw-r--r--runsc/specutils/specutils_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/runsc/specutils/specutils_test.go b/runsc/specutils/specutils_test.go
index 2dc5d90cc..2c4e3e729 100644
--- a/runsc/specutils/specutils_test.go
+++ b/runsc/specutils/specutils_test.go
@@ -94,8 +94,8 @@ func TestWaitForReadyTimeout(t *testing.T) {
err := WaitForReady(cmd.Process.Pid, 50*time.Millisecond, func() (bool, error) {
return false, nil
})
- if !strings.Contains(err.Error(), "timed out") {
- t.Errorf("ProcessWaitReady got: %v, expected: timed out", err)
+ if !strings.Contains(err.Error(), "not running yet") {
+ t.Errorf("ProcessWaitReady got: %v, expected: not running yet", err)
}
cmd.Process.Kill()
}