mirror of
https://github.com/boostorg/mqtt5.git
synced 2025-11-08 03:41:36 +01:00
Add op cancellation tests
Summary: related to T12015 Reviewers: ivica Reviewed By: ivica Subscribers: miljen, iljazovic Differential Revision: https://repo.mireo.local/D27459
This commit is contained in:
@@ -46,7 +46,7 @@ struct shared_test_data {
|
||||
};
|
||||
|
||||
using test::after;
|
||||
using std::chrono_literals::operator ""ms;
|
||||
using namespace std::chrono;
|
||||
|
||||
void run_test(test::msg_exchange broker_side) {
|
||||
constexpr int expected_handlers_called = 1;
|
||||
@@ -125,7 +125,6 @@ BOOST_FIXTURE_TEST_CASE(test_receive_publish_qos2, shared_test_data) {
|
||||
run_test(std::move(broker_side));
|
||||
}
|
||||
|
||||
|
||||
BOOST_FIXTURE_TEST_CASE(fail_to_send_pubrec, shared_test_data) {
|
||||
auto publish_dup = encoders::encode_publish(
|
||||
1, topic, payload, qos_e::exactly_once, retain_e::no, dup_e::yes, {}
|
||||
|
||||
Reference in New Issue
Block a user