Skip to content

Commit

Permalink
checkpoint
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Ortel <[email protected]>
  • Loading branch information
jortel committed Aug 20, 2024
1 parent ce9d58d commit 6e6e2e6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions database/db_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"fmt"
"os"
"testing"
"time"

"github.com/konveyor/tackle2-hub/model"
"k8s.io/utils/env"
Expand Down Expand Up @@ -35,9 +34,8 @@ func TestConcurrent(t *testing.T) {
if uErr != nil {
panic(uErr)
}
for i := 0; i < 10; i++ {
for i := 0; i < 3; i++ {
tx := db.Begin()
time.Sleep(time.Millisecond * time.Duration(n))
uErr = tx.First(m).Error
if uErr != nil {
panic(uErr)
Expand Down

0 comments on commit 6e6e2e6

Please sign in to comment.