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

fix: ensures cluster-wide resources are removed during test cleanup #674

Merged
merged 2 commits into from
Oct 30, 2023

Conversation

bartoszmajsak
Copy link
Contributor

Description

Implements wait with timeout for DSCI to be actually deleted from the cluster as part of the test cleanup.

Otherwise, we might end up with DSCI not deleted yet when another test starts. This leads to failing/flaky tests - see https://github.com/opendatahub-io/opendatahub-operator/actions/runs/6655639303/job/18086337958?pr=605 for example

How Has This Been Tested?

Merge criteria:

  • The commits are squashed in a cohesive manner and have meaningful messages.
  • Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
  • The developer has manually tested the changes and verified that the changes work

Implements wait with timeout for DSCI to be actually deleted from the cluster as
part of the test cleanup.

Otherwise we might end up with DSCI not deleted yet when another test
starts. This leads to failing/flaky tests.
Copy link
Member

@VaishnaviHire VaishnaviHire left a comment

Choose a reason for hiding this comment

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

/lgtm

@VaishnaviHire
Copy link
Member

Should merge automatically once #667 merges

Copy link
Contributor

@AjayJagan AjayJagan left a comment

Choose a reason for hiding this comment

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

+1

Copy link
Member

@zdtsw zdtsw left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci
Copy link

openshift-ci bot commented Oct 30, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: AjayJagan, VaishnaviHire, zdtsw

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@VaishnaviHire
Copy link
Member

/test opendatahub-operator-e2e

@bartoszmajsak
Copy link
Contributor Author

@VaishnaviHire I updated the branch with your changes. Let's see if it passes now. Afterwards, we can squash-merge this commit.

@openshift-ci openshift-ci bot removed the lgtm label Oct 30, 2023
@openshift-ci
Copy link

openshift-ci bot commented Oct 30, 2023

New changes are detected. LGTM label has been removed.

@zdtsw zdtsw merged commit e5bc958 into opendatahub-io:incubation Oct 30, 2023
6 of 7 checks passed
VaishnaviHire pushed a commit to VaishnaviHire/opendatahub-operator that referenced this pull request Nov 15, 2023
…pendatahub-io#674)

Implements wait with timeout for DSCI to be actually deleted from the cluster as
part of the test cleanup.

Otherwise we might end up with DSCI not deleted yet when another test
starts. This leads to failing/flaky tests.

(cherry picked from commit e5bc958)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants