Skip to content

Commit

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

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

Signed-off-by: Julie Vogelman <[email protected]>
  • Loading branch information
juliev0 authored Aug 12, 2022
1 parent b430180 commit fd08b03
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 fd08b03

Please sign in to comment.