mirror of
https://github.com/boostorg/mqtt5.git
synced 2025-11-07 03:11:38 +01:00
async_run
Reviewers: ivica Reviewed By: ivica Subscribers: korina Differential Revision: https://repo.mireo.local/D27342
This commit is contained in:
@@ -115,7 +115,7 @@ BOOST_AUTO_TEST_CASE(tcp_client_check) {
|
||||
c.credentials("tcp-tester", "", "")
|
||||
.brokers("broker.hivemq.com", 1883)
|
||||
.will({ "test/mqtt-test", "Client disconnected!", qos_e::at_least_once })
|
||||
.run();
|
||||
.async_run(asio::detached);
|
||||
|
||||
asio::steady_timer timer(ioc);
|
||||
timer.expires_after(std::chrono::seconds(5));
|
||||
@@ -151,7 +151,7 @@ BOOST_AUTO_TEST_CASE(websocket_tcp_client_check) {
|
||||
|
||||
c.brokers("broker.hivemq.com/mqtt", 8000)
|
||||
.will({ "test/mqtt-test", "Client disconnected!", qos_e::at_least_once })
|
||||
.run();
|
||||
.async_run(asio::detached);
|
||||
|
||||
asio::steady_timer timer(ioc);
|
||||
timer.expires_after(std::chrono::seconds(5));
|
||||
@@ -187,7 +187,7 @@ BOOST_AUTO_TEST_CASE(openssl_tls_client_check) {
|
||||
|
||||
c.brokers("broker.hivemq.com", 8883)
|
||||
.will({ "test/mqtt-test", "Client disconnected!", qos_e::at_least_once })
|
||||
.run();
|
||||
.async_run(asio::detached);
|
||||
|
||||
asio::steady_timer timer(ioc);
|
||||
timer.expires_after(std::chrono::seconds(5));
|
||||
@@ -225,7 +225,7 @@ BOOST_AUTO_TEST_CASE(websocket_tls_client_check) {
|
||||
|
||||
c.brokers("broker.hivemq.com/mqtt", 8884)
|
||||
.will({ "test/mqtt-test", "Client disconnected!", qos_e::at_least_once })
|
||||
.run();
|
||||
.async_run(asio::detached);
|
||||
|
||||
asio::steady_timer timer(ioc);
|
||||
timer.expires_after(std::chrono::seconds(5));
|
||||
|
||||
Reference in New Issue
Block a user