-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes for non-blocking edge cases #363
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested with multithread and non-block
83aceda
to
cea5a27
Compare
…buffer. ZD 16769 * Fixes for write non-blocking (would block) edge cases. * Fix for write position on cancel of message in progress. * Added check for zero return on read, which is a compatibility layer indicator for disconnect.
* Fix to make sure ctrl+c is honored during a want read/write case. * Fix the firmware update example to properly synchronize publish and use a unique topic name. * Improve multi-thread test message to use larger size (> tx but) and in test mode check for actual message. * Improve remote test done logic. * Only run GitHub CI for PR's, not local push. * Properly set `WOLFMQTT_NO_EXTERNAL_BROKER_TESTS` for each test. * Use cat for logs, not more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested with mosquitto installed and uninstalled.
Tested sn-client.
I think just the workflow log cat
is an issue.
@@ -88,4 +88,4 @@ jobs: | |||
- name: Show logs on failure | |||
if: failure() || cancelled() | |||
run: | | |||
more test-suite.log | |||
cat test-suite.log |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was failing for me when I tried it. more
did not have any problem. I think the error was file "test-suite.log" does not exist
@@ -97,4 +103,4 @@ jobs: | |||
- name: Show logs on failure | |||
if: failure() || cancelled() | |||
run: | | |||
more test-suite.log | |||
cat test-suite.log |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above comment
WOLFMQTT_NO_EXTERNAL_BROKER_TESTS
for each test.