Skip to content

Commit

Permalink
test: increase makeAccount timeout
Browse files Browse the repository at this point in the history
- with #9927, the makeAccount flow might also involve making an ICQ connection. This change increases
  the timeout for makeAccount to account for the additional work/latency.
  • Loading branch information
0xpatrickdev committed Aug 27, 2024
1 parent 83b324e commit 7e65a8c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
4 changes: 4 additions & 0 deletions multichain-testing/test/auto-stake-it.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,10 @@ const autoStakeItScenario = test.macro({
({ offerToPublicSubscriberPaths }) =>
Object.fromEntries(offerToPublicSubscriberPaths)[offerId],
`${offerId} continuing invitation is in vstorage`,
{
maxRetries: 12,
retryIntervalMs: 5000,
},
);

const offerToPublicSubscriberMap = Object.fromEntries(
Expand Down
4 changes: 4 additions & 0 deletions multichain-testing/test/basic-flows.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ const makeAccountScenario = test.macro({
({ offerToPublicSubscriberPaths }) =>
Object.fromEntries(offerToPublicSubscriberPaths)[offerId],
`${offerId} continuing invitation is in vstorage`,
{
maxRetries: 12,
retryIntervalMs: 5000,
},
);

const offerToPublicSubscriberMap = Object.fromEntries(
Expand Down
6 changes: 5 additions & 1 deletion multichain-testing/test/stake-ica.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ const stakeScenario = test.macro(async (t, scenario: StakeIcaScenario) => {
({ offerToPublicSubscriberPaths }) =>
!!offerToPublicSubscriberPaths.length,
'makeAccount offer result is in vstorage',
{
maxRetries: 12,
retryIntervalMs: 5000,
},
);

t.log(makeAccountPublicSubscriberPaths[0]);
Expand Down Expand Up @@ -180,7 +184,7 @@ const stakeScenario = test.macro(async (t, scenario: StakeIcaScenario) => {
`rewards available on ${scenario.chain}`,
{
retryIntervalMs: 5000,
maxRetries: 10,
maxRetries: 20,
},
);
t.log('reward:', total[0]);
Expand Down

0 comments on commit 7e65a8c

Please sign in to comment.