From 8833b4def00d6d66c81f2b351159ddb45b7e5f36 Mon Sep 17 00:00:00 2001 From: Matthias Bertschy Date: Wed, 1 May 2024 18:26:37 +0200 Subject: [PATCH] e2e lifecycle: fix finishing -> exiting Signed-off-by: Matthias Bertschy --- test/e2e_node/container_lifecycle_pod_construction.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/e2e_node/container_lifecycle_pod_construction.go b/test/e2e_node/container_lifecycle_pod_construction.go index 51ece59eac7..db48dd1018d 100644 --- a/test/e2e_node/container_lifecycle_pod_construction.go +++ b/test/e2e_node/container_lifecycle_pod_construction.go @@ -124,8 +124,8 @@ func (o containerOutputList) RunTogether(lhs, rhs string) error { lhsStart := o.findIndex(lhs, "Started", 0) rhsStart := o.findIndex(rhs, "Started", 0) - lhsFinish := o.findIndex(lhs, "Finishing", 0) - rhsFinish := o.findIndex(rhs, "Finishing", 0) + lhsFinish := o.findIndex(lhs, "Exiting", 0) + rhsFinish := o.findIndex(rhs, "Exiting", 0) if lhsStart == -1 { return fmt.Errorf("couldn't find that %s ever started, got\n%v", lhs, o) @@ -135,11 +135,11 @@ func (o containerOutputList) RunTogether(lhs, rhs string) error { } if lhsFinish != -1 && rhsStart > lhsFinish { - return fmt.Errorf("expected %s to start before finishing %s, got\n%v", rhs, lhs, o) + return fmt.Errorf("expected %s to start before exiting %s, got\n%v", rhs, lhs, o) } if rhsFinish != -1 && lhsStart > rhsFinish { - return fmt.Errorf("expected %s to start before finishing %s, got\n%v", lhs, rhs, o) + return fmt.Errorf("expected %s to start before exiting %s, got\n%v", lhs, rhs, o) } return nil