Skip to content

Adjust upgrade e2e test to pause Job before upgrade #427

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

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

sutaakar
Copy link
Contributor

@sutaakar sutaakar commented Dec 12, 2023

Issue link

Fixes #426

What changes have been made

This PR makes sure that Job created by AppWrapper is suspended, resumed by TestMNISTCheckAppWrapperStatus. As a result the upgrade test is not dependent on operator upgrade timing, as upgraded operator is running when TestMNISTCheckAppWrapperStatus is invoked.

Verification steps

Verified by running upgrade e2e test.

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • Manual tests
    • Testing is not required for this change

@sutaakar sutaakar requested review from astefanutti and Srihari1192 and removed request for anishasthana and tedhtchang December 12, 2023 10:15
@astefanutti
Copy link
Contributor

/lgtm

@astefanutti
Copy link
Contributor

/approve

Copy link

openshift-ci bot commented Dec 12, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: astefanutti, Srihari1192

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

@openshift-merge-bot openshift-merge-bot bot merged commit a4590ea into project-codeflare:main Dec 12, 2023
@sutaakar sutaakar deleted the upgrade-e2e branch December 12, 2023 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adjust upgrade e2e test to pause Job before upgrade
3 participants