diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2019-05-19 08:55:27 +0200 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2019-05-19 08:55:27 +0200 |
commit | c5ce44c600fa11848d13c03903cdf755012ea7af (patch) | |
tree | cec1333524cc9ca68c0678460b6e8f412aceb0b6 | |
parent | 8feb78ef53d254539caa0ede374acf2d4db13d2b (diff) | |
download | mariadb-git-bb-10.4-connect.tar.gz |
connect.test fixbb-10.4-connect
-rw-r--r-- | mysql-test/main/connect.result | 4 | ||||
-rw-r--r-- | mysql-test/main/connect.test | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/main/connect.result b/mysql-test/main/connect.result index 49d76c5c576..4f04ff9d1ef 100644 --- a/mysql-test/main/connect.result +++ b/mysql-test/main/connect.result @@ -421,6 +421,10 @@ Aborted_connects 0 Aborted_connects_preauth 0 SET GLOBAL log_warnings=2; NOT FOUND /This connection closed normally without authentication/ in mysqld.1.err +# let TCP delect disconnect +select sleep(1); +sleep(1) +0 SHOW GLOBAL STATUS LIKE 'Aborted_connects%'; Variable_name Value Aborted_connects 1 diff --git a/mysql-test/main/connect.test b/mysql-test/main/connect.test index aad0103f773..55ad8751cee 100644 --- a/mysql-test/main/connect.test +++ b/mysql-test/main/connect.test @@ -477,6 +477,9 @@ connect(SOCK, pack_sockaddr_in($ENV{MASTER_MYPORT}, inet_aton("localhost"))); exit(0); EOF +--echo # let TCP delect disconnect +select sleep(1); + SHOW GLOBAL STATUS LIKE 'Aborted_connects%'; --let SEARCH_PATTERN= This connection closed normally without authentication |