From 04ba08fefe937316fae22f1976440cf720485944 Mon Sep 17 00:00:00 2001 From: Pieter Noordhuis Date: Thu, 25 May 2023 14:26:51 +0200 Subject: [PATCH] Reduce parallellism in locker integration test --- internal/locker_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/locker_test.go b/internal/locker_test.go index 4c91b02facb..b7cfc1ea1a9 100644 --- a/internal/locker_test.go +++ b/internal/locker_test.go @@ -47,8 +47,8 @@ func TestAccLock(t *testing.T) { require.NoError(t, err) remoteProjectRoot := createRemoteTestProject(t, "lock-acc-", wsc) - // 50 lockers try to acquire a lock at the same time - numConcurrentLocks := 50 + // 5 lockers try to acquire a lock at the same time + numConcurrentLocks := 5 // Keep single locker unlocked. // We use this to check on the current lock through GetActiveLockState.