File tree 2 files changed +0
-16
lines changed
2 files changed +0
-16
lines changed Original file line number Diff line number Diff line change 1
1
version : " 3.7"
2
2
services :
3
- mysql :
4
- image : mysql:latest
5
- environment :
6
- MYSQL_USER : test_user
7
- MYSQL_PASSWORD : test_pass
8
- MYSQL_ROOT_PASSWORD : test_pass
9
- MYSQL_DATABASE : test_db
10
- ports :
11
- - " 3306:3306"
12
3
postgres :
13
4
image : postgres:latest
14
5
environment :
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import (
10
10
11
11
zipkinsql "github.com/jcchavezs/zipkin-instrumentation-sql"
12
12
13
- "github.com/go-sql-driver/mysql"
14
13
"github.com/openzipkin/zipkin-go"
15
14
"github.com/openzipkin/zipkin-go/reporter/recorder"
16
15
"gotest.tools/assert"
@@ -34,18 +33,12 @@ var (
34
33
driver : & pq.Driver {},
35
34
dsn : "postgres://test_user:test_pass@localhost/test_db?sslmode=disable" ,
36
35
}
37
- mysqlTestCase = testCase {
38
- driverName : "mysql" ,
39
- driver : & mysql.MySQLDriver {},
40
- dsn : "test_user:test_pass@tcp(127.0.0.1:3306)/test_db?interpolateParams=true" ,
41
- }
42
36
)
43
37
44
38
const maxPingRetries = 5
45
39
46
40
func TestDriver (t * testing.T ) {
47
41
tCases := []testCase {
48
- mysqlTestCase ,
49
42
postgresTestCase ,
50
43
}
51
44
You can’t perform that action at this time.
0 commit comments