From 71a13f9b7f8de1c70adfeb7f6758c91bb70c5d33 Mon Sep 17 00:00:00 2001 From: Julie Vogelman Date: Fri, 12 Aug 2022 10:11:03 -0700 Subject: [PATCH] fix: ArtifactGC e2e test was looking for the wrong artifact names Signed-off-by: Julie Vogelman --- test/e2e/artifacts_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/e2e/artifacts_test.go b/test/e2e/artifacts_test.go index 941463f704f3..626e983184ed 100644 --- a/test/e2e/artifacts_test.go +++ b/test/e2e/artifacts_test.go @@ -76,24 +76,24 @@ func (s *ArtifactsSuite) TestArtifactGC() { { workflowFile: "@testdata/artifactgc/artgc-multi-strategy-multi-anno.yaml", expectedArtifacts: []artifactState{ - artifactState{"first-on-success-1", "my-bucket-2", true}, - artifactState{"first-on-success-2", "my-bucket-3", true}, + artifactState{"first-on-completion-1", "my-bucket-2", true}, + artifactState{"first-on-completion-2", "my-bucket-3", true}, artifactState{"first-no-deletion", "my-bucket-3", false}, artifactState{"second-on-deletion", "my-bucket-3", true}, - artifactState{"second-on-success", "my-bucket-2", true}, + artifactState{"second-on-completion", "my-bucket-2", true}, }, }, { workflowFile: "@testdata/artifactgc/artgc-from-template.yaml", expectedArtifacts: []artifactState{ - artifactState{"on-success", "my-bucket-2", true}, + artifactState{"on-completion", "my-bucket-2", true}, artifactState{"on-deletion", "my-bucket-2", true}, }, }, { workflowFile: "@testdata/artifactgc/artgc-step-wf-tmpl.yaml", expectedArtifacts: []artifactState{ - artifactState{"on-success", "my-bucket-2", true}, + artifactState{"on-completion", "my-bucket-2", true}, artifactState{"on-deletion", "my-bucket-2", true}, }, },