-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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: timeouts of waiting on extensions complete installation RecommendedExtensions test #22514
Conversation
78a147b
to
0d9f9cc
Compare
https://main-jenkins-csb-crwqe.apps.ocp-c1.prod.psi.redhat.com/job/Testing/job/e2e/job/basic/job/typescript-tests/11960/ |
@@ -10,6 +10,9 @@ | |||
export const PLUGIN_TEST_CONSTANTS: { TS_SAMPLE_LIST: string } = { | |||
/** | |||
* dashboard samples to check in RecommendedExtensions.spec.ts | |||
* full list Node.js MongoDB,Node.js Express,Java 11 with Lombok,Java 11 with Quarkus,Python,.NET,C/C++,Go,PHP,Ansible |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this sentence looks redundant because is duplicating TS_SAMPLE_LIST constant value
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to merge taking into account shared test results: #22514 (comment)
…dedExtensions test Signed-off-by: mdolhalo <[email protected]>
@nallikaea: new test run showed the expected result: https://main-jenkins-csb-crwqe.apps.ocp-c1.prod.psi.redhat.com/job/Testing/job/e2e/job/basic/job/typescript-tests/12045/console |
EmptyWorkspace PR check has passed as well https://github.com/eclipse/che/actions/runs/6258850326/job/16993691751?pr=22514 |
What does this PR do?
because of Automatic installation of Recommended extensions is failing on Java Samples. test failed by common timeout common 20min:
MOCHA_DEFAULT_TIMEOUT: process.env.MOCHA_DEFAULT_TIMEOUT || 1200000
Added specific timeout test timeout
TS_FIND_EXTENSION_TEST_TIMEOUT * n
, wheren
- number of extensions.15s per extension by default.
Screenshot/screencast of this PR
NA
What issues does this PR fix or reference?
#22502
https://issues.redhat.com/browse/CRW-4790
How to test this PR?
docker run --shm-size=4096m -p 5920:5920 -e TS_SELENIUM_LOAD_PAGE_TIMEOUT=420000 -e TS_SELENIUM_BASE_URL=https://devspaces.apps.ocp413.crw-qe.com/ -e DELETE_WORKSPACE_ON_FAILED_TEST=true -e TS_SELENIUM_START_WORKSPACE_TIMEOUT=120000 -e NODE_TLS_REJECT_UNAUTHORIZED=0 -e VIDEO_RECORDING=true -e E2E_OCP_CLUSTER_API_URL=https://api.ocp413.crw-qe.com:6443/ -e TS_SELENIUM_LOG_LEVEL=TRACE -e TS_WAIT_LOADER_PRESENCE_TIMEOUT=120000 -e TS_COMMON_DASHBOARD_WAIT_TIMEOUT=30000 -e OCP_INFRA=PSI -v /tmp:/usr/local/bin:Z -v /home/hudson/.kube:/home/seluser/.kube:Z -v /mnt/hudson_workspace/workspace/Testing/e2e/basic/typescript-tests/test-repo/tests/e2e:/tmp/e2e:Z -v /mnt/hudson_workspace/workspace/Testing/e2e/basic/typescript-tests/test-repo/tests/e2e/video:/tmp/ffmpeg_report:Z -e USERSTORY=RecommendedExtensions -e TS_SELENIUM_VALUE_OPENSHIFT_OAUTH=true -e TS_OCP_LOGIN_PAGE_PROVIDER_TITLE=htpasswd -e TS_SELENIUM_OCP_USERNAME=admin -e 'TS_SAMPLE_LIST=Java 11 with Quarkus' -e TS_COMMON_DASHBOARD_WAIT_TIMEOUT=120_000 quay.io/eclipse/che-e2e:next
PR Checklist
As the author of this Pull Request I made sure that:
What issues does this PR fix or reference
andHow to test this PR
completedReviewers
Reviewers, please comment how you tested the PR when approving it.