Skip to content

Commit

Permalink
Add protocol=tcp to mysqladmin
Browse files Browse the repository at this point in the history
  • Loading branch information
amitlicht committed Jul 3, 2024
1 parent df2de00 commit ee72cec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/databases/mysql/mysql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func (s *MySQLTestSuite) deployMySQLDatabase(ctx context.Context) {
LivenessProbe: &corev1.Probe{
ProbeHandler: corev1.ProbeHandler{
Exec: &corev1.ExecAction{
Command: []string{"mysqladmin", "ping", "-h", "localhost"},
Command: []string{"mysqladmin", "ping", "-h", "localhost", "--protocol=tcp"},
},
},
InitialDelaySeconds: 5,
Expand All @@ -137,7 +137,7 @@ func (s *MySQLTestSuite) deployMySQLDatabase(ctx context.Context) {
ReadinessProbe: &corev1.Probe{
ProbeHandler: corev1.ProbeHandler{
Exec: &corev1.ExecAction{
Command: []string{"mysqladmin", "ping", "-h", "localhost"},
Command: []string{"mysqladmin", "ping", "-h", "localhost", "--protocol=tcp"},
},
},
InitialDelaySeconds: 5,
Expand Down

0 comments on commit ee72cec

Please sign in to comment.