Skip to content

Commit

Permalink
Reduced parallel connections for database test
Browse files Browse the repository at this point in the history
  • Loading branch information
Forceu committed Nov 22, 2023
1 parent 06e934d commit 2a71f43
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 <= 4000; i++ {
for i := 1; i <= 1000; 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 <= 100000; i++ {
for i := 1; i <= 5000; i++ {
wg.Add(1)
go func() {
defer wg.Done()
Expand Down

0 comments on commit 2a71f43

Please sign in to comment.