mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-10-26 20:59:48 +00:00
probe: run each slow spec with a time cap
This commit is contained in:
1 parent
09742a1637
commit
82d06f9355
1 file changed
+9
-1
@@ -20,6 +20,14 @@ jobs:
|
||||
done
|
||||
echo; docker logs node 2>&1 | tail -5
|
||||
- run: corepack enable && yarn install --immutable
|
||||
- run: yarn test:one :.slow.
|
||||
- name: Bounties spec (4 min cap)
|
||||
run: timeout -s INT 240 yarn test:one :Bounties.slow. ; echo "rc=$?"
|
||||
- name: CreateAccount spec (4 min cap)
|
||||
if: always()
|
||||
run: timeout -s INT 240 yarn test:one :CreateAccount.slow. ; echo "rc=$?"
|
||||
- name: chain state
|
||||
if: always()
|
||||
run: |
|
||||
for m in system_chain state_getRuntimeVersion; do curl -s -H 'Content-Type: application/json' -d "{\"id\":1,\"jsonrpc\":\"2.0\",\"method\":\"$m\"}" http://127.0.0.1:30333 | head -c 400; echo; done
|
||||
- if: always()
|
||||
run: docker logs node 2>&1 | tail -40
|
||||
Reference in new issue
Block a user