Skip to content

Commit e0e411a

Browse files
committed
chore: removes mysql temporaryconnecting to the container is not working in CI but in local.
1 parent b99451e commit e0e411a

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

tests/docker-compose.yml

-9
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
11
version: "3.7"
22
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"
123
postgres:
134
image: postgres:latest
145
environment:

tests/integration_test.go

-7
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import (
1010

1111
zipkinsql "github.com/jcchavezs/zipkin-instrumentation-sql"
1212

13-
"github.com/go-sql-driver/mysql"
1413
"github.com/openzipkin/zipkin-go"
1514
"github.com/openzipkin/zipkin-go/reporter/recorder"
1615
"gotest.tools/assert"
@@ -34,18 +33,12 @@ var (
3433
driver: &pq.Driver{},
3534
dsn: "postgres://test_user:test_pass@localhost/test_db?sslmode=disable",
3635
}
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-
}
4236
)
4337

4438
const maxPingRetries = 5
4539

4640
func TestDriver(t *testing.T) {
4741
tCases := []testCase{
48-
mysqlTestCase,
4942
postgresTestCase,
5043
}
5144

0 commit comments

Comments
 (0)