Skip to content

Commit

Permalink
Further reduced parallel connections for db testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Forceu committed Nov 22, 2023
1 parent 2a71f43 commit 82d6af3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/configuration/database/Database_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ func TestParallelConnectionsWritingAndReading(t *testing.T) {
test.IsEqualBool(t, ok, false)
}

for i := 1; i <= 1000; i++ {
for i := 1; i <= 100; i++ {
wg.Add(1)
go func() {
defer wg.Done()
Expand All @@ -425,7 +425,7 @@ func TestParallelConnectionsReading(t *testing.T) {
test.IsEqualBool(t, ok, true)
}

for i := 1; i <= 5000; i++ {
for i := 1; i <= 1000; i++ {
wg.Add(1)
go func() {
defer wg.Done()
Expand Down

0 comments on commit 82d6af3

Please sign in to comment.