diff --git a/test/transport/integration.cpp b/test/transport/integration.cpp index 532c55a..1d2e7e7 100644 --- a/test/transport/integration.cpp +++ b/test/transport/integration.cpp @@ -398,7 +398,7 @@ BOOST_AUTO_TEST_CASE( pong_timeout ) { websocketpp::lib::error_code(),::_1)); websocketpp::lib::thread sthread(websocketpp::lib::bind(&run_server,&s,9005,false)); - websocketpp::lib::thread tthread(websocketpp::lib::bind(&run_test_timer,6)); + websocketpp::lib::thread tthread(websocketpp::lib::bind(&run_test_timer,10)); tthread.detach(); run_client(c, "http://localhost:9005",false); @@ -416,7 +416,7 @@ BOOST_AUTO_TEST_CASE( client_open_handshake_timeout ) { websocketpp::error::open_handshake_timeout,::_1)); websocketpp::lib::thread sthread(websocketpp::lib::bind(&run_dummy_server,9005)); - websocketpp::lib::thread tthread(websocketpp::lib::bind(&run_test_timer,6)); + websocketpp::lib::thread tthread(websocketpp::lib::bind(&run_test_timer,10)); sthread.detach(); tthread.detach(); @@ -433,7 +433,7 @@ BOOST_AUTO_TEST_CASE( server_open_handshake_timeout ) { websocketpp::error::open_handshake_timeout,::_1)); websocketpp::lib::thread sthread(websocketpp::lib::bind(&run_server,&s,9005,false)); - websocketpp::lib::thread tthread(websocketpp::lib::bind(&run_test_timer,6)); + websocketpp::lib::thread tthread(websocketpp::lib::bind(&run_test_timer,10)); tthread.detach(); run_dummy_client("9005"); @@ -456,7 +456,7 @@ BOOST_AUTO_TEST_CASE( client_self_initiated_close_handshake_timeout ) { websocketpp::error::close_handshake_timeout,::_1)); websocketpp::lib::thread sthread(websocketpp::lib::bind(&run_server,&s,9005,false)); - websocketpp::lib::thread tthread(websocketpp::lib::bind(&run_test_timer,6)); + websocketpp::lib::thread tthread(websocketpp::lib::bind(&run_test_timer,10)); tthread.detach(); run_client(c, "http://localhost:9005", false); @@ -488,7 +488,7 @@ BOOST_AUTO_TEST_CASE( server_self_initiated_close_handshake_timeout ) { c.set_open_handler(bind(&delay,::_1,1)); websocketpp::lib::thread sthread(websocketpp::lib::bind(&run_server,&s,9005,false)); - websocketpp::lib::thread tthread(websocketpp::lib::bind(&run_test_timer,6)); + websocketpp::lib::thread tthread(websocketpp::lib::bind(&run_test_timer,10)); tthread.detach(); run_client(c, "http://localhost:9005",false);