Skip to content

Commit

Permalink
fix log print for chopsticks
Browse files Browse the repository at this point in the history
  • Loading branch information
Chralt98 committed Dec 19, 2023
1 parent 695e52a commit f2fb0f3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ jobs:
run: |
cd integration-tests
pnpm exec moonwall test chopsticks_battery_station_upgrade
ls -R integration-tests/tmp/node_logs/
cat integration-tests/tmp/node_logs/*.log
ls -R tmp/node_logs/
cat tmp/node_logs/*.log
chopsticks_zeitgeist_upgrade:
name: Chopsticks Runtime Upgrade Zeitgeist
Expand Down Expand Up @@ -257,8 +257,8 @@ jobs:
run: |
cd integration-tests
pnpm exec moonwall test chopsticks_zeitgeist_upgrade
ls -R integration-tests/tmp/node_logs/
cat integration-tests/tmp/node_logs/*.log
ls -R tmp/node_logs/
cat tmp/node_logs/*.log
chopsticks_zeitgeist_hydradx_xcm_tests:
name: Chopsticks Zeitgeist HydraDX XCM Tests
Expand Down Expand Up @@ -296,7 +296,7 @@ jobs:
- name: Test zeitgeist xcm tests using Chopsticks
run: |
cd integration-tests
pnpm exec moonwall test chopsticks_zeitgeist_hydra_xcm_transfer
ls -R integration-tests/tmp/node_logs/
cat integration-tests/tmp/node_logs/*.log
pnpm exec moonwall test chopsticks_zeitgeist_hydra_xcm_tests
ls -R tmp/node_logs/
cat tmp/node_logs/*.log
2 changes: 1 addition & 1 deletion integration-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Useful for integration testing:

- `./integration-tests/scripts/deploy_zombienet.sh` - Deploy a local relay-parachain network for zombienet.
- `./integration-tests/scripts/deploy_zombienet.sh --test` - Run ZNDSL zombienet tests on a local relay-parachain network.
- `pnpm exec moonwall test chopsticks_zeitgeist_hydra_xcm_transfer` - Test XCM transfer from Zeitgeist to HydraDX.
- `pnpm exec moonwall test chopsticks_zeitgeist_hydra_xcm_tests` - XCM Tests from Zeitgeist to HydraDX.
- `pnpm exec moonwall test zombienet_zeitgeist_upgrade` - Test Zeitgeist runtime upgrade on zombienet for the local network.
- `pnpm exec moonwall test chopsticks_zeitgeist_upgrade` - Test Zeitgeist runtime upgrade on chopsticks for the live network.
- `pnpm exec moonwall test chopsticks_battery_station_upgrade` - Test Battery Station runtime upgrade on chopsticks for the test network.
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/moonwall.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
]
},
{
"name": "chopsticks_zeitgeist_hydra_xcm_transfer",
"name": "chopsticks_zeitgeist_hydra_xcm_tests",
"testFileDir": ["tests/chopsticks-xcm"],
"foundation": {
"type": "chopsticks",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { MoonwallContext, beforeAll, describeSuite, expect } from "@moonwall/cli
import { KeyringPair } from "@moonwall/util";
import { ApiPromise, Keyring } from "@polkadot/api";

const MAX_BALANCE_TRANSFER_TRIES = 5;
describeSuite({
id: "CZXCM",
title: "Chopsticks Zeitgeist XCM Tests",
Expand Down Expand Up @@ -39,7 +38,6 @@ describeSuite({
const alice = keyring.addFromUri("//Alice", { name: "Alice default" });
const bob = keyring.addFromUri("//Bob", { name: "Bob default" });

let tries = 0;
const zeitgeistBalanceBefore = (await zeitgeistParaApi.query.system.account(alice.address)).data.free.toBigInt();

const ztg = { 'Ztg': null };
Expand Down

0 comments on commit f2fb0f3

Please sign in to comment.