From 788ceda08d0dbf0d25c083a212185f010c25c491 Mon Sep 17 00:00:00 2001 From: Eric Mastro Date: Wed, 14 Dec 2022 12:38:58 +1100 Subject: [PATCH] Increase AccountLocks timeouts as the lock limit increased --- test/AccountLocks.test.js | 4 ++++ test/Marketplace.test.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/test/AccountLocks.test.js b/test/AccountLocks.test.js index 96f4432..6e7d993 100644 --- a/test/AccountLocks.test.js +++ b/test/AccountLocks.test.js @@ -145,6 +145,8 @@ describe("Account Locks", function () { } it("supports a limited amount of locks per account", async function () { + this.timeout(100000) + for (let i = 0; i < maxlocks; i++) { await addLock() } @@ -160,6 +162,8 @@ describe("Account Locks", function () { }) it("handles maximum amount of locks within gas limit", async function () { + this.timeout(100000) + let ids = [] for (let i = 0; i < maxlocks; i++) { ids.push(await addLock()) diff --git a/test/Marketplace.test.js b/test/Marketplace.test.js index 336073f..9fa5ddd 100644 --- a/test/Marketplace.test.js +++ b/test/Marketplace.test.js @@ -834,7 +834,7 @@ describe("Marketplace", function () { }) }) - describe.only("gas reporting limits", function () { + describe("gas reporting limits", function () { before(function () { if (!process.env.REPORT_GAS) { this.skip()