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:
committed by
GitHub
parent
8b5b9b68c2
commit
bd5c83bc11
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user