Skip to content

Commit

Permalink
chore: update retry timeouts
Browse files Browse the repository at this point in the history
- updates `MAKE_ACCOUNT_AND_QUERY_BALANCE_TIMEOUT` after observing:
  - incoming offer at "2024-09-10T17:40:50.076Z" and offer result at "2024-09-10T17:42:16.158Z"
  - in https://github.com/Agoric/agoric-sdk/actions/runs/10797610413/job/29949245444?pr=10053#step:12:3673
  • Loading branch information
0xpatrickdev committed Sep 10, 2024
1 parent 07fcaba commit 2a50005
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions multichain-testing/test/config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { RetryOptions } from '../tools/sleep.js';

/**
* Wait 90 seconds to ensure staking rewards are available.
* Wait up to 90 seconds to ensure staking rewards are available.
*
* While we expect staking rewards to be available after a
* single block (~5-12 seconds for most chains), this provides additional
Expand All @@ -18,7 +18,7 @@ export const STAKING_REWARDS_TIMEOUT: RetryOptions = {
};

/**
* Wait 2 minutes to ensure:
* Wait up to 2 minutes to ensure:
* - IBC Transfer from LocalAccount -> ICA Account Completes
* - Delegation from ICA Account (initiated from SwingSet) Completes
* - Delegations are visible via LCD (API Endpoint)
Expand All @@ -32,11 +32,12 @@ export const AUTO_STAKE_IT_DELEGATIONS_TIMEOUT: RetryOptions = {
};

/**
* Wait about 90s to ensure:
* Wait up to 2 minutes to ensure:
* - ICA Account is created
* - ICQ Connection is established (in some instances)
* - Query is executed (sometimes local, sometimes via ICQ)
*/
export const MAKE_ACCOUNT_AND_QUERY_BALANCE_TIMEOUT: RetryOptions = {
maxRetries: 25,
retryIntervalMs: 5000,
maxRetries: 24,
};

0 comments on commit 2a50005

Please sign in to comment.