Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions tests/connection_pool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ type TestCategory struct {
}

func TestConnectionPooling(t *testing.T) {
t.Skip()
setupConnectionPoolTestTables(t)

sqlDB, err := DB.DB()
Expand Down Expand Up @@ -95,7 +94,7 @@ func TestConnectionPooling(t *testing.T) {
case 2:
// Long-running query (simulate connection hold)
var products []TestProduct
err := DB.Raw("SELECT * FROM test_products WHERE ROWNUM <= 10").Scan(&products).Error
err := DB.Raw("SELECT * FROM \"test_products\" WHERE ROWNUM <= 10").Scan(&products).Error
time.Sleep(100 * time.Millisecond)
if err != nil {
results <- fmt.Sprintf("Goroutine %d LONG-QUERY failed: %v", id, err)
Expand Down
1 change: 1 addition & 0 deletions tests/passed-tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -409,3 +409,4 @@ TestWhereClauseInjection
TestUpdateInjection
TestFirstOrCreateInjection
TestUserInsertScenarios
TestConnectionPooling
Loading