Skip to content

Commit cb20440

Browse files
authored
Merge pull request #930 from redboltz/fix_928
Adjusted timing for CI (appveyor),
2 parents 14cf0cd + e4dbb44 commit cb20440

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/system/st_resend.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2147,7 +2147,7 @@ BOOST_AUTO_TEST_CASE( publish_session_before_expire ) {
21472147
c->set_clean_start(false);
21482148
c->connect(
21492149
MQTT_NS::v5::properties {
2150-
MQTT_NS::v5::property::session_expiry_interval(2)
2150+
MQTT_NS::v5::property::session_expiry_interval(5)
21512151
}
21522152
);
21532153
},
@@ -2291,7 +2291,7 @@ BOOST_AUTO_TEST_CASE( publish_session_after_expire ) {
22912291
[&chk, &c, &tim]
22922292
(MQTT_NS::error_code) {
22932293
MQTT_CHK("h_error");
2294-
tim.expires_after(std::chrono::seconds(3)); // after expired
2294+
tim.expires_after(std::chrono::seconds(4)); // after expired
22952295
tim.async_wait(
22962296
[&c] (MQTT_NS::error_code ec) {
22972297
BOOST_ASSERT( ! ec);

0 commit comments

Comments
 (0)