Skip to content

Commit 5383e01

Browse files
authored
Merge pull request kubernetes#88952 from smarterclayton/fix_reason
test: Detect flakes caused by container teardown races on CRI
2 parents 672aa55 + d80981b commit 5383e01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/node/pods.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ var _ = SIGDescribe("Pods Extended", func() {
350350
switch {
351351
case t.ExitCode == 1:
352352
// expected
353-
case t.ExitCode == 128 && t.Reason == "ContainerCannotRun" && reBug88766.MatchString(t.Message):
353+
case t.ExitCode == 128 && (t.Reason == "StartError" || t.Reason == "ContainerCannotRun") && reBug88766.MatchString(t.Message):
354354
// pod volume teardown races with container start in CRI, which reports a failure
355355
framework.Logf("pod %s on node %s failed with the symptoms of https://github.com/kubernetes/kubernetes/issues/88766")
356356
default:

0 commit comments

Comments
 (0)