From b1ee044134ca32fbd866c4fd94f6b5fb782e3249 Mon Sep 17 00:00:00 2001 From: woodser Date: Sat, 27 Apr 2024 10:33:46 -0400 Subject: [PATCH] bump max concurrency to 20 --- src/HavenoClient.test.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/HavenoClient.test.ts b/src/HavenoClient.test.ts index 9c565205..abb5b6a4 100644 --- a/src/HavenoClient.test.ts +++ b/src/HavenoClient.test.ts @@ -483,6 +483,14 @@ const HAVENO_WALLETS: Map = new Map(); // other config const OFFLINE_ERR_MSG = "Http response at 400 or 500 level"; +function getMaxConcurrency() { + return isGitHubActions() ? 4 : 20; +} + +function isGitHubActions() { + return process.env.GITHUB_ACTIONS === 'true'; +} + // -------------------------- BEFORE / AFTER TESTS ---------------------------- jest.setTimeout(TestConfig.testTimeout); @@ -3887,14 +3895,6 @@ function testMoneroNodeSettingsEqual(settingsBefore: XmrNodeSettings, settingsAf expect(settingsAfter.getStartupFlagsList()).toEqual(settingsBefore.getStartupFlagsList()); } -function getMaxConcurrency() { - return isGitHubActions() ? 4 : 14; -} - -function isGitHubActions() { - return process.env.GITHUB_ACTIONS === 'true'; -} - function getFormField(form: PaymentAccountForm, fieldId: PaymentAccountFormField.FieldId): PaymentAccountFormField { for (const field of form.getFieldsList()) { if (field.getId() == fieldId) return field;