summaryrefslogtreecommitdiff
path: root/mysql-test/suite/sys_vars/t/tcp_keepalive_time.test
blob: 6b40c3d6eaba87a9e5a5fc237329a6c51cb5b141 (plain)
1
2
3
4
5
6
7
8
9
10
11
--source include/not_embedded.inc
# A smoke test for TCP keepalive options
set global tcp_keepalive_time = 1;
set global tcp_keepalive_interval =1;
set global tcp_keepalive_probes=1;
connect(con1,"127.0.0.1",root,,test,$MASTER_MYPORT,);
disconnect con1;
connection default;
set global tcp_keepalive_time= default;
set global tcp_keepalive_interval= default;
set global tcp_keepalive_probes=default;