mirror of
https://github.com/boostorg/mqtt5.git
synced 2025-11-06 10:51:37 +01:00
Separate tests to compile and run all configuration-related client functions
Summary: related to T12015 Reviewers: ivica Reviewed By: ivica Subscribers: miljen, iljazovic Differential Revision: https://repo.mireo.local/D27945
This commit is contained in:
@@ -113,7 +113,6 @@ BOOST_AUTO_TEST_CASE(tcp_client_check) {
|
||||
client_type c(ioc);
|
||||
|
||||
c.brokers("broker.hivemq.com", 1883)
|
||||
.will({ "test/mqtt-test", "Client disconnected!", qos_e::at_least_once })
|
||||
.async_run(asio::detached);
|
||||
|
||||
asio::steady_timer timer(ioc);
|
||||
@@ -148,7 +147,6 @@ BOOST_AUTO_TEST_CASE(websocket_tcp_client_check) {
|
||||
client_type c(ioc);
|
||||
|
||||
c.brokers("broker.hivemq.com/mqtt", 8000)
|
||||
.will({ "test/mqtt-test", "Client disconnected!", qos_e::at_least_once })
|
||||
.async_run(asio::detached);
|
||||
|
||||
asio::steady_timer timer(ioc);
|
||||
@@ -183,7 +181,6 @@ BOOST_AUTO_TEST_CASE(openssl_tls_client_check) {
|
||||
client_type c(ioc, std::move(tls_context));
|
||||
|
||||
c.brokers("broker.hivemq.com", 8883)
|
||||
.will({ "test/mqtt-test", "Client disconnected!", qos_e::at_least_once })
|
||||
.async_run(asio::detached);
|
||||
|
||||
asio::steady_timer timer(ioc);
|
||||
@@ -220,7 +217,6 @@ BOOST_AUTO_TEST_CASE(websocket_tls_client_check) {
|
||||
client_type c(ioc, std::move(tls_context));
|
||||
|
||||
c.brokers("broker.hivemq.com/mqtt", 8884)
|
||||
.will({ "test/mqtt-test", "Client disconnected!", qos_e::at_least_once })
|
||||
.async_run(asio::detached);
|
||||
|
||||
asio::steady_timer timer(ioc);
|
||||
|
||||
Reference in New Issue
Block a user