Skip to content

Commit

Permalink
don't skip mariadb concurrent test
Browse files Browse the repository at this point in the history
  • Loading branch information
methane committed Jun 22, 2023
1 parent 13661cd commit 7633d01
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions driver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1839,13 +1839,13 @@ func TestConcurrent(t *testing.T) {
}

runTests(t, dsn, func(dbt *DBTest) {
var version string
if err := dbt.db.QueryRow("SELECT @@version").Scan(&version); err != nil {
dbt.Fatalf("%s", err.Error())
}
if strings.Contains(strings.ToLower(version), "mariadb") {
t.Skip(`TODO: "fix commands out of sync. Did you run multiple statements at once?" on MariaDB`)
}
// var version string
// if err := dbt.db.QueryRow("SELECT @@version").Scan(&version); err != nil {
// dbt.Fatal(err)
// }
// if strings.Contains(strings.ToLower(version), "mariadb") {
// t.Skip(`TODO: "fix commands out of sync. Did you run multiple statements at once?" on MariaDB`)
// }

var max int
err := dbt.db.QueryRow("SELECT @@max_connections").Scan(&max)
Expand Down

0 comments on commit 7633d01

Please sign in to comment.