Skip to content

Commit

Permalink
chore: add node-key to docker and add timeouts to withdraw-unbonded t…
Browse files Browse the repository at this point in the history
…ests
  • Loading branch information
beqaabu committed Feb 10, 2025
1 parent e3ef63e commit a719873
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
--validator --chain devnet \
--name "test-node-devnet-$GITHUB_RUN_ID-attempt-$GITHUB_RUN_ATTEMPT" \
--public-addr "/dns4/$IP_ADDRESS/tcp/30333" \
--node-key ${{ secrets.CI_VALIDATOR_NODE_KEY }} \
--prometheus-external \
--telemetry-url "wss://telemetry.polkadot.io/submit/ 0" \
--telemetry-url "wss://telemetry.creditcoin.network/submit/ 0" \
Expand Down Expand Up @@ -75,6 +76,7 @@ jobs:
--validator --chain testnet \
--name "test-node-testnet-$GITHUB_RUN_ID-attempt-$GITHUB_RUN_ATTEMPT" \
--public-addr "/dns4/$IP_ADDRESS/tcp/30333" \
--node-key ${{ secrets.CI_VALIDATOR_NODE_KEY }} \
--prometheus-external \
--telemetry-url "wss://telemetry.polkadot.io/submit/ 0" \
--telemetry-url "wss://telemetry.creditcoin.network/submit/ 0" \
Expand Down Expand Up @@ -110,6 +112,7 @@ jobs:
--validator --chain mainnet \
--name "test-node-mainnet-$GITHUB_RUN_ID-attempt-$GITHUB_RUN_ATTEMPT" \
--public-addr "/dns4/$IP_ADDRESS/tcp/30333" \
--node-key ${{ secrets.CI_VALIDATOR_NODE_KEY }} \
--prometheus-external \
--telemetry-url "wss://telemetry.polkadot.io/submit/ 0" \
--telemetry-url "wss://telemetry.creditcoin.network/submit/ 0" \
Expand Down Expand Up @@ -147,6 +150,8 @@ jobs:
sleep 10
- name: Start Testnet container via compose
env:
NODE_KEY: ${{ secrets.CI_VALIDATOR_NODE_KEY }}
run: |
docker compose up -d
Expand Down
3 changes: 2 additions & 1 deletion cli/src/test/integration-tests/withdraw-unbonded.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ describe('withdraw-unbonded', () => {
);
}
},
60_000,
90_000,
);

testIf(
Expand All @@ -185,6 +185,7 @@ describe('withdraw-unbonded', () => {
);
}
},
90_000,
);

testIf(
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ services:
- --validator
- --chain
- testnet
- --node-key
- ${NODE_KEY}
- --telemetry-url
- "wss://telemetry.creditcoin.network/submit 0"
- --bootnodes
Expand Down

0 comments on commit a719873

Please sign in to comment.