Skip to content

Commit

Permalink
Reduce parallellism in locker integration test (#407)
Browse files Browse the repository at this point in the history
## Changes

This test is hitting request throttling. A lower number of parallel
routines acquiring it should be sufficient.

## Tests

n/a
  • Loading branch information
pietern authored May 25, 2023
1 parent 6141476 commit 8544440
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/locker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8544440

Please sign in to comment.