summaryrefslogtreecommitdiff
path: root/mysql-test/t/ssl_timeout-9836.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/ssl_timeout-9836.test')
-rw-r--r--mysql-test/t/ssl_timeout-9836.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/t/ssl_timeout-9836.test b/mysql-test/t/ssl_timeout-9836.test
new file mode 100644
index 00000000000..5b57917f3b8
--- /dev/null
+++ b/mysql-test/t/ssl_timeout-9836.test
@@ -0,0 +1,11 @@
+#
+# MDEV-9836 Connection lost when using SSL
+#
+-- source include/have_ssl_communication.inc
+connect(con1,localhost,root,,,,,SSL);
+SET @@net_read_timeout=1;
+SELECT 1;
+# MDEV-9836 - YASSL bug - SSL connection lost if it has been idle, for longer than net_read_timeout
+-- sleep 2
+SELECT 1;
+disconnect con1;