Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Add test for failed workflow artifact garbage collection. #12904

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Garett-MacGowan
Copy link
Contributor

Related discussion: #12845

Motivation

#12845 suggested a possible issue with artifactgc for failed workflows. This test verifies that artifactgc works for failed workflows.

Modifications

Add test for failed workflow artifact garbage collection.

Signed-off-by: Garett MacGowan <garett.macgowan@gmail.com>
@shuangkun shuangkun added area/artifacts S3/GCP/OSS/Git/HDFS etc area/gc Garbage collection, such as TTLs, retentionPolicy, delays, and more labels Apr 6, 2024
@@ -224,6 +224,59 @@ func (s *ArtifactsSuite) TestStoppedWorkflow() {
}
}

func (s *ArtifactsSuite) TestFailedWorkflow() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The failed workflow is part of fixtures.ToBeCompleted
maybe we can include this in the

func (s *ArtifactsSuite) TestArtifactGC() {
instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/artifacts S3/GCP/OSS/Git/HDFS etc area/gc Garbage collection, such as TTLs, retentionPolicy, delays, and more
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants