Skip to content

Commit c0cc712

Browse files
committed
skip ssl in testcontainer§
1 parent 13d35f2 commit c0cc712

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/pkg/source/mysqltest/mysql_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const tableName = "testTable"
3737
// mysql and psql are a bit picky when it comes to localhost, use ip instead
3838
const hostName = "127.0.0.1"
3939
const logString = "ready for connections"
40-
const mysqlImage = "docker.io/bitnami/mysql:5.7"
40+
const mysqlImage = "docker.io/bitnami/mysql:8"
4141

4242
type MySQLDumpAndRestoreTestSuite struct {
4343
suite.Suite
@@ -461,7 +461,7 @@ var mySQLRequest = testcontainers.ContainerRequest{
461461
"MYSQL_DATABASE": mySQLDatabase,
462462
"MYSQL_USER": mySQLUser,
463463
"MYSQL_PASSWORD": mySQLPw,
464-
"MYSQL_EXTRA:FLAGS": "--default-authentication-plugin=mysql_native_password",
464+
"MYSQL_EXTRA:FLAGS": "--default-authentication-plugin=mysql_native_password --skip-ssl",
465465
},
466466
WaitingFor: wait.ForLog(logString),
467467
}

0 commit comments

Comments
 (0)