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

Adjust test timeout on AppWrappers to decrease e2e tests duration #661

Merged

Conversation

ChristianZaccaria
Copy link
Contributor

Issue link

No Jira

Context

Currently the e2e tests are taking around 45mins to complete. There's a test running for 15mins, of which is required to run for only 2mins.

In the deployment_appwrapper_test.go file, there is this test to make sure the AppWrapper continues to run for a set amount of time. The timeout set is TestTimeoutMedium equal to 2m.

However, in the e2e_tests.yaml workflow file, we've set the environment variable for TestTimeoutMedium, to be equal to 15mins, causing this test to always run for 15 minutes.

Change

Changed in the deployment_appwrapper_test.go file the timeout from TestTimeoutMedium to TestTimeoutShort.

@ChristianZaccaria ChristianZaccaria requested review from sutaakar and removed request for varshaprasad96 and jbusche February 10, 2025 13:09
Copy link
Collaborator

@dgrove-oss dgrove-oss left a comment

Choose a reason for hiding this comment

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

Makes sense to me.

Copy link
Contributor

@sutaakar sutaakar left a comment

Choose a reason for hiding this comment

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

Thanks

Copy link

openshift-ci bot commented Feb 10, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dgrove-oss, sutaakar

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 b7e3f34 into project-codeflare:main Feb 10, 2025
8 checks passed
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.

3 participants