Skip to content

Conversation

0xSachinK
Copy link
Contributor

@0xSachinK 0xSachinK commented Sep 20, 2021

Problem

In set-protocol-v2, before each block times out occasionally

1) AaveUniswapLeverageDebtIssuance
       "before each" hook for "should not update the collateral position on the SetToken":
     Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/circleci/set-protocol-v2/test/integration/aaveUniswapLeverageDebtIssuance.spec.ts)
      at listOnTimeout (internal/timers.js:549:17)
      at processTimers (internal/timers.js:492:7

Solution

Double all test timeouts in hardhat.config.ts.

Copy link
Contributor

@cgewecke cgewecke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Thanks for this.

@cgewecke cgewecke merged commit d6a2bbe into master Sep 21, 2021
@cgewecke cgewecke deleted the sachin/increase-test-timeout branch September 21, 2021 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants