Revert "Chore: Use proper database type from env in testinfra integration tests" (#109081)

Revert "Chore: Use proper database type from env in testinfra integration tes…"

This reverts commit 772f647210.
This commit is contained in:
Stephanie Hingtgen
2025-08-01 15:49:54 -05:00
committed by GitHub
parent 8b5b9b68c2
commit bd5c83bc11
9 changed files with 30 additions and 60 deletions

View File

@@ -22,11 +22,6 @@ type TestDB struct {
DriverName string
ConnStr string
Path string
Host string
Port string
User string
Password string
Database string
Cleanup func()
}
@@ -137,11 +132,6 @@ func mySQLTestDB() (*TestDB, error) {
return &TestDB{
DriverName: "mysql",
ConnStr: conn_str,
Host: host,
Port: port,
User: "grafana",
Password: "password",
Database: "grafana_tests",
Cleanup: func() {},
}, nil
}
@@ -159,11 +149,6 @@ func postgresTestDB() (*TestDB, error) {
return &TestDB{
DriverName: "postgres",
ConnStr: connStr,
Host: host,
Port: port,
User: "grafanatest",
Password: "grafanatest",
Database: "grafanatest",
Cleanup: func() {},
}, nil
}