mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +00:00
test: Detect flakes caused by container teardown races on CRI
CRI returns a different reason than the dockershim, and we must also catch the symptoms of https://github.com/kubernetes/kubernetes/issues/88766 in that environment.
This commit is contained in:
parent
672aa55ee4
commit
d80981b657
@ -350,7 +350,7 @@ var _ = SIGDescribe("Pods Extended", func() {
|
||||
switch {
|
||||
case t.ExitCode == 1:
|
||||
// expected
|
||||
case t.ExitCode == 128 && t.Reason == "ContainerCannotRun" && reBug88766.MatchString(t.Message):
|
||||
case t.ExitCode == 128 && (t.Reason == "StartError" || t.Reason == "ContainerCannotRun") && reBug88766.MatchString(t.Message):
|
||||
// pod volume teardown races with container start in CRI, which reports a failure
|
||||
framework.Logf("pod %s on node %s failed with the symptoms of https://github.com/kubernetes/kubernetes/issues/88766")
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user