diff --git a/tests/connection_pool_test.go b/tests/connection_pool_test.go index df12198..d201b06 100644 --- a/tests/connection_pool_test.go +++ b/tests/connection_pool_test.go @@ -24,7 +24,6 @@ type TestCategory struct { } func TestConnectionPooling(t *testing.T) { - t.Skip() setupConnectionPoolTestTables(t) sqlDB, err := DB.DB() @@ -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) diff --git a/tests/passed-tests.txt b/tests/passed-tests.txt index 37a9b10..9e435e1 100644 --- a/tests/passed-tests.txt +++ b/tests/passed-tests.txt @@ -409,3 +409,4 @@ TestWhereClauseInjection TestUpdateInjection TestFirstOrCreateInjection TestUserInsertScenarios +TestConnectionPooling