git.delta.rocks / unique-network / refs/commits / 97d69906aae8

difftreelog

Changed timeout 15s ->30s. Added installation node_modules mocha

Alexander Aksenov2022-08-04parent: #6c4b42e.patch.diff
in: master

2 files changed

modified.docker/readyness.jsdiffbeforeafterboth
24 break;24 break;
25 }25 }
26 catch(e) {26 catch(e) {
27 await sleep(15000);27 await sleep(30000);
28 }28 }
29 }29 }
30}30}
modified.github/workflows/node_build_test.ymldiffbeforeafterboth
87 node-version: 1687 node-version: 16
8888
89 - name: Run tests89 - name: Run tests
90 run: |90 run: |
91 yarn install91 yarn install
92 yarn add @polkadot/api @polkadot/util mochawesome92 yarn add @polkadot/api @polkadot/util mocha mochawesome
93
93 node -v94 node -v
94 echo "Ready to start tests"95 echo "Ready to start tests"
95 node .docker/readyness.js96 node .docker/readyness.js
96 cd tests97 cd tests
97 NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-${NOW}98 NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-${NOW}
98 env:99 env:
99 RPC_URL: http://127.0.0.1:9933/100 RPC_URL: http://127.0.0.1:9933/
100101