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:
Korina Šimičević
2024-02-15 13:57:22 +01:00
parent eb510ae1d4
commit b40ddb3ced
6 changed files with 446 additions and 50 deletions

View File

@@ -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);