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
bugfix: do not publish last will when authentication failed #8887
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.
Codeball: LGTM! 👍
confidence: 0.99 | [dashboard] | [adjust AI settings]
afbb975
to
c91044d
Compare
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.
Codeball: LGTM! 👍
confidence: 0.99 | [dashboard] | [adjust AI settings]
apps/emqx/test/emqx_broker_SUITE.erl
Outdated
payload := <<"should not be published">> | ||
}} -> | ||
ct:fail("should not publish will message") | ||
after 1_000 -> |
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.
Maybe use a tp and expect a not sent trace point?
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.
Or wait/assert connection process is gone
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.
Ok, I'll wait for the publisher process to die and check we didn't receive any messages.
Actually, it might be hard to get the connection PID, since it'll die pretty fast during connection 🤔
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.
✔️
c91044d
to
2e40e35
Compare
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.
Codeball: LGTM! 👍
confidence: 0.98 | [dashboard] | [adjust AI settings]
2e40e35
to
51b3a6c
Compare
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.
Codeball: LGTM! 👍
confidence: 0.98 | [dashboard] | [adjust AI settings]
51b3a6c
to
e0c0788
Compare
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.
Codeball: LGTM! 👍
confidence: 0.97 | [dashboard] | [adjust AI settings]
e0c0788
to
e0fcf07
Compare
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.
Codeball: LGTM! 👍
confidence: 0.97 | [dashboard] | [adjust AI settings]
Pull Request Test Coverage Report for Build 2992993168
💛 - Coveralls |
fixes #8886