Skip to content

Commit

Permalink
fix: ArtifactGC e2e test was looking for the wrong artifact names (ar…
Browse files Browse the repository at this point in the history
…goproj#9353)

Signed-off-by: Julie Vogelman <[email protected]>

Signed-off-by: Julie Vogelman <[email protected]>
Signed-off-by: juchao <[email protected]>
  • Loading branch information
juliev0 authored and juchaosong committed Nov 3, 2022
1 parent 0d4a301 commit f323e2f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/e2e/artifacts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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},
},
},
Expand Down

0 comments on commit f323e2f

Please sign in to comment.