Skip to content

Commit

Permalink
fix freezing builds randomly in ci (#1777)
Browse files Browse the repository at this point in the history
* fix freezing builds randomly in ci

* update the cache

* increase timeout for rewards manager module

just a lot of stuff going on in that file

* increase mocha timeout for synthetix
  • Loading branch information
dbeal-eth authored Aug 17, 2023
1 parent 5bda25b commit da098af
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
Binary file not shown.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@
"solhint-plugin-numcast": "1.0.0",
"typescript": "4.9.3"
},
"resolutions": {
"hardhat-gas-reporter/eth-gas-reporter": "git://github.com/dbeal-eth/eth-gas-reporter.git#fix-catch-errors"
},
"pre-commit": [
"lint:quick"
],
Expand Down
4 changes: 4 additions & 0 deletions protocol/synthetix/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ const config = {
default: 'off',
},
},

mocha: {
timeout: 120000,
},
};

export default config;
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { verifyUsesFeatureFlag } from '../../verifications';
// ---------------------------------------

describe('RewardsManagerModule', function () {
this.timeout(120000);
const { provider, signers, systems, poolId, collateralAddress, accountId } =
bootstrapWithStakedPool();

Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6893,9 +6893,9 @@ __metadata:
languageName: node
linkType: hard

"eth-gas-reporter@npm:^0.2.25":
version: 0.2.25
resolution: "eth-gas-reporter@npm:0.2.25"
"eth-gas-reporter@git://github.com/dbeal-eth/eth-gas-reporter.git#fix-catch-errors":
version: 0.2.24
resolution: "eth-gas-reporter@https://github.com/dbeal-eth/eth-gas-reporter.git#commit=1772400f123bb9ddda777170f53594205fffda87"
dependencies:
"@ethersproject/abi": ^5.0.0-beta.146
"@solidity-parser/parser": ^0.14.0
Expand All @@ -6917,7 +6917,7 @@ __metadata:
peerDependenciesMeta:
"@codechecks/client":
optional: true
checksum: 3bfa81e554b069bb817f2a073a601a0429e6b582c56ad99db0727dc2a102ab00fc27888820b8a042a194a8fb7d40954d10cd7b011ede6b8170285d2d5a88666c
checksum: d4587d1d5162fa9afa8b0ce856352bbdce301703000b7aa7b05fa48454224a46f356900face12840c095b2ac31d6d7c61913b0e2a10591a492f05b452ba760c2
languageName: node
linkType: hard

Expand Down

0 comments on commit da098af

Please sign in to comment.