Hi @msolomon4,
I changed the timeout to 100,000ms and the test passed,
I also ran with the timeout disabled.
It looks like the setup is taking 18-26sec to run, so assume it is related to: OpenZeppelin/openzeppelin-test-environment#48
I am running on WSL2 on Windows 10.
node v10.19.0
npm 6.14.4
Test
$ npm run test
> endaoment@1.0.0 test /home/abcoathup/projects/forum/endaoment
> oz compile && mocha --exit --timeout 0 test/*-test.js
Nothing to compile, all contracts are up to date.
Moloch
✓ should see the deployed Moloch contract
1 passing (26s)
Time check
before(async () => {
start = Date.now();
this.instance = await Moloch.new(
summoner,
"0x6B175474E89094C44Da98b954EedeAC495271d0F", // address _approvedToken (DAI address)
17280, // uint256 _periodDuration
35, // uint256 _votingPeriodLength -- 35 periods?
35, // uint256 _gracePeriodLength -- 35 periods?
5, // uint256 _abortWindow -- 5 periods?
"100000000000000000000", // uint256 _proposalDeposit -- 100 Dai
3, // uint256 _dilutionBound -- 3
"1000000000000000000", // uint256 _processingReward -- 1 Dai
{from: summoner});
end = Date.now();
console.log(`Deploy Moloch: ${(end - start)/1000} sec`)
});