Skip to content

Commit

Permalink
update CI to only show logs for failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Chralt98 committed Jan 4, 2024
1 parent ed6f652 commit caffe05
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ jobs:
pnpm exec moonwall test chopsticks_battery_station_upgrade
- name: Show chopsticks logs
if: ${{ failure() }}
run: |
cd integration-tests
ls -R tmp/node_logs/
Expand Down Expand Up @@ -261,6 +262,7 @@ jobs:
pnpm exec moonwall test chopsticks_zeitgeist_upgrade
- name: Show chopsticks logs
if: ${{ failure() }}
run: |
cd integration-tests
ls -R tmp/node_logs/
Expand Down
6 changes: 3 additions & 3 deletions integration-tests/tests/common-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,9 @@ export async function canSendXcmTransfer(
).toBeTruthy();
const xcmFee: bigint =
receiverBalanceBefore + amount - transferFee - receiverBalanceAfter;
// between 0.03 ZTG and 0.05 ZTG XCM fee
const approxXcmFeeLow = 300000000;
const approxXcmFeeHigh = 500000000;
// between 0.02 ZTG and 0.10 ZTG XCM fee
const approxXcmFeeLow = 200000000;
const approxXcmFeeHigh = 1000000000;
expect(xcmFee).toBeGreaterThanOrEqual(approxXcmFeeLow);
expect(xcmFee).toBeLessThanOrEqual(approxXcmFeeHigh);
expect(
Expand Down

0 comments on commit caffe05

Please sign in to comment.