Skip to content

Commit

Permalink
skip ssl in testcontainer§
Browse files Browse the repository at this point in the history
  • Loading branch information
fffunke committed Feb 10, 2025
1 parent 13d35f2 commit c0cc712
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/pkg/source/mysqltest/mysql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const tableName = "testTable"
// mysql and psql are a bit picky when it comes to localhost, use ip instead
const hostName = "127.0.0.1"
const logString = "ready for connections"
const mysqlImage = "docker.io/bitnami/mysql:5.7"
const mysqlImage = "docker.io/bitnami/mysql:8"

type MySQLDumpAndRestoreTestSuite struct {
suite.Suite
Expand Down Expand Up @@ -461,7 +461,7 @@ var mySQLRequest = testcontainers.ContainerRequest{
"MYSQL_DATABASE": mySQLDatabase,
"MYSQL_USER": mySQLUser,
"MYSQL_PASSWORD": mySQLPw,
"MYSQL_EXTRA:FLAGS": "--default-authentication-plugin=mysql_native_password",
"MYSQL_EXTRA:FLAGS": "--default-authentication-plugin=mysql_native_password --skip-ssl",
},
WaitingFor: wait.ForLog(logString),
}

0 comments on commit c0cc712

Please sign in to comment.