diff options
author | Rucha Deodhar <rucha.deodhar@mariadb.com> | 2020-07-10 21:27:20 +0530 |
---|---|---|
committer | Rucha Deodhar <rucha.deodhar@mariadb.com> | 2020-07-10 21:27:20 +0530 |
commit | f81ff93287349daeb62c46e699ac54996a09860b (patch) | |
tree | 8aecc965f9b388f5890cf4bce17945b050755b2b | |
parent | 737c3025e9ed55855ee66806ad14e9e7e7852fa7 (diff) | |
download | mariadb-git-f81ff93287349daeb62c46e699ac54996a09860b.tar.gz |
MDEV-19119: main.ssl_crl fails in buildbot with wrong error codebb-10.2-MDEV-19119
The client can only find out if the server has disconnected when it tries to
read or send something. If the server gets disconnected before
send_client_reply_packet(), the client will try sending authentication
information but it will fail. But, if the client is fast enough to send
autentication information before disconnecting, it will notice that when
reading the ok packet. So the client can fail on read or on write.
It is unpredictable because, the process are unsynchronized and this
could happen in any order.
-rw-r--r-- | mysql-test/t/ssl_crl.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/t/ssl_crl.test b/mysql-test/t/ssl_crl.test index dc30a9b5934..643fb80c747 100644 --- a/mysql-test/t/ssl_crl.test +++ b/mysql-test/t/ssl_crl.test @@ -8,6 +8,6 @@ --echo # try logging in with a certificate in the server's --ssl-crl : should fail # OpenSSL 1.1.1a correctly rejects the certificate, but the error message is wrong ---replace_result "ERROR 2013 (HY000): Lost connection to MySQL server at 'reading authorization packet', system error: 0" "ERROR 2026 (HY000): SSL connection error: sslv3 alert certificate revoked" +--replace_result "ERROR 2013 (HY000): Lost connection to MySQL server at 'reading authorization packet', system error: 0" "ERROR 2026 (HY000): SSL connection error: sslv3 alert certificate revoked" "ERROR 2013 (HY000): Lost connection to MySQL server at 'sending authentication information', system error: 32" "ERROR 2026 (HY000): SSL connection error: sslv3 alert certificate revoked" --error 1 --exec $MYSQL --ssl-ca=$MYSQL_TEST_DIR/std_data/cacert.pem --ssl-key=$MYSQL_TEST_DIR/std_data/client-key.pem --ssl-cert=$MYSQL_TEST_DIR/std_data/client-cert.pem test -e "SHOW STATUS LIKE 'Ssl_version'" 2>&1 |