MLE-24733 Enabling multipleWorker test again#1019
Conversation
|
Copyright Validation Results ⏭️ Skipped (Excluded) Files
✅ Valid Files
✅ All files have valid copyright headers! |
There was a problem hiding this comment.
Pull Request Overview
This pull request re-enables a previously disabled end-to-end test for multiple worker functionality in the Jenkins CI pipeline. The test had been temporarily disabled due to failures with the new all-mlDeploy setup, but is now being re-activated.
Key Changes:
- Re-enabled the
nodejs-ds-multipleWorker.jstest execution in the Jenkinsfile - Removed the comment explaining why the test was disabled
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Jenkinsfile
Outdated
| ../node_modules/.bin/mocha -R xunit --timeout 60000 -R xunit "nodejs-ds-multipleWorker.js" --reporter mocha-junit-reporter --reporter-options mochaFile=$WORKSPACE/ds-multipleWorker-results.xml || true | ||
| ../node_modules/.bin/mocha -R xunit --timeout 60000 -R xunit "nodejs-ds-transactions.js" --reporter mocha-junit-reporter --reporter-options mochaFile=$WORKSPACE/ds-transactions-results.js.xml || true | ||
| ../node_modules/.bin/mocha -R xunit --timeout 60000 -R xunit "nodejs-ds-dynamic.js" --reporter mocha-junit-reporter --reporter-options mochaFile=$WORKSPACE/ds-dynamic-results.xml || true |
There was a problem hiding this comment.
The -R xunit flag is specified twice in the mocha command, which will cause the second occurrence to override the first. Remove the duplicate -R xunit flag to ensure proper reporter configuration.
| ../node_modules/.bin/mocha -R xunit --timeout 60000 -R xunit "nodejs-ds-multipleWorker.js" --reporter mocha-junit-reporter --reporter-options mochaFile=$WORKSPACE/ds-multipleWorker-results.xml || true | |
| ../node_modules/.bin/mocha -R xunit --timeout 60000 -R xunit "nodejs-ds-transactions.js" --reporter mocha-junit-reporter --reporter-options mochaFile=$WORKSPACE/ds-transactions-results.js.xml || true | |
| ../node_modules/.bin/mocha -R xunit --timeout 60000 -R xunit "nodejs-ds-dynamic.js" --reporter mocha-junit-reporter --reporter-options mochaFile=$WORKSPACE/ds-dynamic-results.xml || true | |
| ../node_modules/.bin/mocha -R xunit --timeout 60000 "nodejs-ds-multipleWorker.js" --reporter mocha-junit-reporter --reporter-options mochaFile=$WORKSPACE/ds-multipleWorker-results.xml || true | |
| ../node_modules/.bin/mocha -R xunit --timeout 60000 "nodejs-ds-transactions.js" --reporter mocha-junit-reporter --reporter-options mochaFile=$WORKSPACE/ds-transactions-results.js.xml || true | |
| ../node_modules/.bin/mocha -R xunit --timeout 60000 "nodejs-ds-dynamic.js" --reporter mocha-junit-reporter --reporter-options mochaFile=$WORKSPACE/ds-dynamic-results.xml || true |
be2c346 to
715d155
Compare
Added Copilot-suggested fix for the "before()" function to not finish before the first test, which seems to be the problem?
715d155 to
b1bedff
Compare
No description provided.