Skip to content

Commit

Permalink
fix: disable tls in tests
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Sagi-Kazar <[email protected]>
  • Loading branch information
sagikazarmark committed Jan 9, 2025
1 parent c7fd962 commit 3f7135b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion storage/ent/mysql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ func mysqlTestConfig(host string, port uint64) *MySQL {
Port: uint16(port),
},
SSL: SSL{
Mode: mysqlSSLSkipVerify,
// This was originally mysqlSSLSkipVerify. It lead to handshake errors.
// See https://github.com/go-sql-driver/mysql/issues/1635 for more details.
Mode: mysqlSSLFalse,
},
params: map[string]string{
"innodb_lock_wait_timeout": "1",
Expand Down

0 comments on commit 3f7135b

Please sign in to comment.