Synthetixio / synthetix-pm

Private repo for project management of the americas team
0 stars 2 forks source link

Increase local test speed with provider.pollingInterval as suggested by Liam #171

Open theethernaut opened 3 years ago

theethernaut commented 3 years ago

Liam claims that integration tests can be accelerated with this. https://github.com/Synthetixio/synthetix/pull/1297/commits/bcbad906f93e589337d51c9333b53c787fd810bc

We should probably just set (always) it here, https://github.com/Synthetixio/synthetix/blob/develop/test/integration/utils/bootstrap.js#L102

But we'd have to perform measurements to validate that it does improve speed.

Resources: https://sourcegraph.com/search?q=context:global+repo:%5Egithub%5C.com/ethers-io/ethers%5C.js%24+pollingInterval&patternType=literal https://github.com/ethers-io/ethers.js/issues/132