Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 9ffc432

Browse files
committed
timeout in tests increased and todo added for changing it back after the scrypt.js fix got released
1 parent 10ca58b commit 9ffc432

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

test/eth.accounts.encrypt-decrypt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ describe("eth", function () {
190190
staticTests.forEach(function (test, i) {
191191
it("decrypt staticTests and compare to private key", function() {
192192
// increase the test timeout
193-
this.timeout(4000);
193+
this.timeout(25000);// TODO: Decrease timeout after the scrypt.js fix got released
194194

195195
var ethAccounts = new Accounts();
196196

test/eth.accounts.wallet.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,8 @@ describe("eth", function () {
268268
});
269269

270270
it("encrypt then decrypt wallet", function() {
271+
this.timeout(6000); // TODO: Remove timeout after the scrypt.js fix got released.
272+
271273
var ethAccounts = new Accounts();
272274
var password = "qwerty";
273275

@@ -291,7 +293,6 @@ describe("eth", function () {
291293

292294
var addressFromKeystore = ethAccounts.wallet[0].address;
293295
assert.equal(addressFromKeystore, addressFromWallet);
294-
295296
});
296297
});
297298
});

0 commit comments

Comments
 (0)