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

ARTEMIS-2223 when a new consumer is created, no subscription is called. #2493

Closed
wants to merge 1 commit into from

Conversation

onlyMIT
Copy link
Contributor

@onlyMIT onlyMIT commented Jan 8, 2019

In the 'MQTTTest.testCleanSession()' test method, when a new consumer is created, no subscription is called.Consumers need to subscribe before they consume the news.

In the 'MQTTTest.testCleanSession()' test method, when a new consumer is created, no subscription is called.Consumers need to subscribe before they consume the news.
@jbertram
Copy link
Contributor

jbertram commented Jan 8, 2019

The test is correct. Creating a subscription before attempting to receive the message defeats the point of the test as the test is ensuring that the session is clean (i.e. no previous subscriptions exist) when reconnecting with the same client ID.

@onlyMIT
Copy link
Contributor Author

onlyMIT commented Jan 8, 2019

The test is correct.can close the jira and pull request

@onlyMIT onlyMIT closed this Jan 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants