We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 14cf0cd + e4dbb44 commit cb20440Copy full SHA for cb20440
test/system/st_resend.cpp
@@ -2147,7 +2147,7 @@ BOOST_AUTO_TEST_CASE( publish_session_before_expire ) {
2147
c->set_clean_start(false);
2148
c->connect(
2149
MQTT_NS::v5::properties {
2150
- MQTT_NS::v5::property::session_expiry_interval(2)
+ MQTT_NS::v5::property::session_expiry_interval(5)
2151
}
2152
);
2153
},
@@ -2291,7 +2291,7 @@ BOOST_AUTO_TEST_CASE( publish_session_after_expire ) {
2291
[&chk, &c, &tim]
2292
(MQTT_NS::error_code) {
2293
MQTT_CHK("h_error");
2294
- tim.expires_after(std::chrono::seconds(3)); // after expired
+ tim.expires_after(std::chrono::seconds(4)); // after expired
2295
tim.async_wait(
2296
[&c] (MQTT_NS::error_code ec) {
2297
BOOST_ASSERT( ! ec);
0 commit comments