forked from boostorg/mqtt5
Better test packet logging & validation
Summary: related to T12015, T11798 - improved packet logging in test broker for easier debugging - test broker will fail the test if a packet is sent after all the messages were exchanged - fixed a bug in assemble_op where read buffer was not properly cleared if an error occurred (for example, malformed packet cases) Reviewers: ivica Reviewed By: ivica Subscribers: iljazovic, miljen Differential Revision: https://repo.mireo.local/D27561
This commit is contained in:
1 parent
61f17f6e0f
commit
4bf59cc18c
7 files changed
+307
-69
No files matched your search
@@ -5,7 +5,7 @@
|
||||
boost::unit_test::test_suite* init_tests(
|
||||
int /*argc*/, char* /*argv*/[]
|
||||
) {
|
||||
async_mqtt5::test::logging_enabled() = true;
|
||||
async_mqtt5::test::logging_enabled() = false;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user