File tree Expand file tree Collapse file tree 2 files changed +224
-204
lines changed Expand file tree Collapse file tree 2 files changed +224
-204
lines changed Original file line number Diff line number Diff line change @@ -92,20 +92,15 @@ def runE2ETests() {
9292 gulp loadToModulesDB
9393 gulp generateFnClasses
9494 gulp copyFnClasses
95- # Adding sleep for the gulp commands to complete.
96- sleep 30
9795 cp *.js ../test-complete/
9896 cp -R ml-modules/ ../test-complete
9997 cd ../test-complete
100- ../node_modules/.bin/mocha -R xunit --timeout 60000 nodejs-ds-setup-docs.js
101- ../node_modules/.bin/mocha -R xunit --timeout 60000 "nodejs-ds-required-params.js" --reporter mocha-junit-reporter --reporter-options mochaFile=$WORKSPACE/ds-required-params-results.xml || true
102- ../node_modules/.bin/mocha -R xunit --timeout 60000 "nodejs-ds-error-map.js" --reporter mocha-junit-reporter --reporter-options mochaFile=$WORKSPACE/ds-multipleWorker-results.xml || true
103-
104- # Disabling this for now, failing with the new all-mlDeploy setup for unknown reasons.
105- # ../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
106-
107- ../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
108- ../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
98+ ../node_modules/.bin/mocha -R xunit --timeout 20000 nodejs-ds-setup-docs.js
99+ ../node_modules/.bin/mocha -R xunit --timeout 20000 "nodejs-ds-required-params.js" --reporter mocha-junit-reporter --reporter-options mochaFile=$WORKSPACE/ds-required-params-results.xml || true
100+ ../node_modules/.bin/mocha -R xunit --timeout 20000 "nodejs-ds-error-map.js" --reporter mocha-junit-reporter --reporter-options mochaFile=$WORKSPACE/ds-multipleWorker-results.xml || true
101+ ../node_modules/.bin/mocha -R xunit --timeout 20000 "nodejs-ds-multipleWorker.js" --reporter mocha-junit-reporter --reporter-options mochaFile=$WORKSPACE/ds-multipleWorker-results.xml || true
102+ ../node_modules/.bin/mocha -R xunit --timeout 20000 "nodejs-ds-transactions.js" --reporter mocha-junit-reporter --reporter-options mochaFile=$WORKSPACE/ds-transactions-results.js.xml || true
103+ ../node_modules/.bin/mocha -R xunit --timeout 20000 "nodejs-ds-dynamic.js" --reporter mocha-junit-reporter --reporter-options mochaFile=$WORKSPACE/ds-dynamic-results.xml || true
109104 '''
110105 junit ' **/*.xml'
111106}
You can’t perform that action at this time.
0 commit comments