Skip to content
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

Refine ordered call test. #822

Merged
merged 1 commit into from
Jul 26, 2021
Merged

Refine ordered call test. #822

merged 1 commit into from
Jul 26, 2021

Conversation

redboltz
Copy link
Owner

If you just need ordered call for the same handler, you can use
MQTT_ORDERED(handler1, handler2, ...).
In this case, you need to call cleard_ordered() on the top of test.
It should be called before the each tests (tcp, tls, ws, wss).

If you need to call handler based on topological sorting, then you can
use chk.match("label1", handler1, "label2", handler2, ...).

If you just need ordered call for the same handler, you can use
MQTT_ORDERED(handler1, handler2, ...).
In this case, you need to call cleard_ordered() on the top of test.
It should be called before the each tests (tcp, tls, ws, wss).

If you need to call handler based on topological sorting, then you can
use chk.match("label1", handler1, "label2", handler2, ...).
@codecov
Copy link

codecov bot commented Jul 25, 2021

Codecov Report

Merging #822 (5d502c4) into master (f161e38) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #822   +/-   ##
=======================================
  Coverage   82.73%   82.73%           
=======================================
  Files          62       62           
  Lines        8657     8657           
=======================================
  Hits         7162     7162           
  Misses       1495     1495           

@redboltz redboltz merged commit 9d222ca into master Jul 26, 2021
@redboltz redboltz deleted the refine_async_test_checker branch July 26, 2021 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant