|
@@ -146,7 +146,7 @@ func TestAttachRestart(t *testing.T) {
|
|
|
return strings.Count(res.Stdout(),
|
|
return strings.Count(res.Stdout(),
|
|
|
"failing-1 exited with code 1") == 3, fmt.Sprintf("'failing-1 exited with code 1' not found 3 times in : \n%s\n",
|
|
"failing-1 exited with code 1") == 3, fmt.Sprintf("'failing-1 exited with code 1' not found 3 times in : \n%s\n",
|
|
|
debug)
|
|
debug)
|
|
|
- }, 3*time.Minute, 2*time.Second)
|
|
|
|
|
|
|
+ }, 4*time.Minute, 2*time.Second)
|
|
|
|
|
|
|
|
assert.Equal(t, strings.Count(res.Stdout(), "failing-1 | world"), 3, res.Combined())
|
|
assert.Equal(t, strings.Count(res.Stdout(), "failing-1 | world"), 3, res.Combined())
|
|
|
}
|
|
}
|