diff --git a/test/lib/01-keepalive-pingreq.py b/test/lib/01-keepalive-pingreq.py index a58fb45e..e3962b0b 100755 --- a/test/lib/01-keepalive-pingreq.py +++ b/test/lib/01-keepalive-pingreq.py @@ -12,7 +12,7 @@ from mosq_test_helper import * port = mosq_test.get_lib_port() rc = 1 -keepalive = 4 +keepalive = 5 connect_packet = mosq_test.gen_connect("01-keepalive-pingreq", keepalive=keepalive) connack_packet = mosq_test.gen_connack(rc=0) diff --git a/test/lib/c/01-keepalive-pingreq.c b/test/lib/c/01-keepalive-pingreq.c index 4db7a70d..ea62089f 100644 --- a/test/lib/c/01-keepalive-pingreq.c +++ b/test/lib/c/01-keepalive-pingreq.c @@ -24,7 +24,7 @@ int main(int argc, char *argv[]) mosq = mosquitto_new("01-keepalive-pingreq", true, NULL); mosquitto_connect_callback_set(mosq, on_connect); - rc = mosquitto_connect(mosq, "localhost", port, 4); + rc = mosquitto_connect(mosq, "localhost", port, 5); while(run == -1){ mosquitto_loop(mosq, -1, 1); diff --git a/test/lib/cpp/01-keepalive-pingreq.cpp b/test/lib/cpp/01-keepalive-pingreq.cpp index bf3c81b8..677066b2 100644 --- a/test/lib/cpp/01-keepalive-pingreq.cpp +++ b/test/lib/cpp/01-keepalive-pingreq.cpp @@ -31,7 +31,7 @@ int main(int argc, char *argv[]) mosq = new mosquittopp_test("01-keepalive-pingreq"); - mosq->connect("localhost", port, 4); + mosq->connect("localhost", port, 5); while(run == -1){ mosq->loop();