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

test: fix more flaky test in share sub SUITE #9088

Merged
merged 2 commits into from
Oct 3, 2022

Conversation

zmstone
Copy link
Member

@zmstone zmstone commented Oct 3, 2022

Mainly to start emqx_modules application in ct-slave tests.

This is due to enterprise edition needs emqx_modules to be running since https://github.com/emqx/emqx-enterprise/pull/1400/commits/f5d5b41e0116b977a3a217a6088e81caadbaddd9

Some more fixes for flakyness:

  • ekka join match ok otherwise error get silently ignored, no way to know what went wrong
  • for some reason, ct slave start may return started_not_connected, we allow it, and the ping in the next line should make sure the nodes are connected
  • make sure slave node is stopped at the end of each test case.

@zmstone zmstone merged commit bea046d into emqx:release-v43 Oct 3, 2022
@zmstone zmstone deleted the 1003-fix-more-flaky-test branch October 3, 2022 16:15
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.

3 participants