Skip to content

Commit b4186b2

Browse files
committed
Bug#26370216 TEST MAIN.OPENSSL_1 FAILS ON ALPINE LINUX
For some reason warning from mysqltest client comes at different stage when running on Alpine Linux. As warning is not of interest in this test any way, warning message is removed by adding --ssl-mode option.
1 parent 8b4aba8 commit b4186b2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

mysql-test/r/openssl_1.result

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ SHOW STATUS LIKE 'Ssl_cipher';
103103
Variable_name Value
104104
Ssl_cipher AES128-SHA
105105
mysqltest: Could not open connection 'default': 2026 SSL connection error: Failed to set ciphers to use
106-
WARNING: no verification of server certificate will be done. Use --ssl-mode=VERIFY_CA or VERIFY_IDENTITY.
107106
CREATE TABLE t1(a int);
108107
INSERT INTO t1 VALUES (1), (2);
109108

mysql-test/t/openssl_1.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ SET GLOBAL event_scheduler=0;
200200
#
201201
--exec echo "SHOW STATUS LIKE 'Ssl_cipher'; exit" > $MYSQLTEST_VARDIR/tmp/test.sql
202202
--error 1
203-
--exec $MYSQL_TEST --ssl-mode=REQUIRED --ssl-cipher=UNKNOWN-CIPHER < $MYSQLTEST_VARDIR/tmp/test.sql 2>&1
203+
--exec $MYSQL_TEST --ssl-mode=REQUIRED --ssl-cipher=UNKNOWN-CIPHER --ssl-mode=VERIFY_CA < $MYSQLTEST_VARDIR/tmp/test.sql 2>&1
204204

205205
#
206206
# Bug#27669 mysqldump: SSL connection error when trying to connect

0 commit comments

Comments
 (0)