Skip to content

Comments

ARTEMIS-4037 refactor MQTTRetainMessageManagerTest#4255

Closed
jbertram wants to merge 1 commit intoapache:mainfrom
jbertram:ARTEMIS-4037
Closed

ARTEMIS-4037 refactor MQTTRetainMessageManagerTest#4255
jbertram wants to merge 1 commit intoapache:mainfrom
jbertram:ARTEMIS-4037

Conversation

@jbertram
Copy link
Contributor

Commit 5a42de5 called my attention to this test. It really needs to be refactored because:

  • It belongs in the integration-tests module rather than the MQTT protocol module.
  • It is using a lot of non-standard components (e.g. EmbeddedJMSResource, Awaitility, etc.).
  • It is overly complicated (e.g. using its own MqttClientService).

This commit resolves all those problems. The new implementation is quite a bit different but still equivalent. I reverted the original fix from ARTEMIS-2476 and the test still fails.

Commit 5a42de5 called my attention to
this test. It really needs to be refactored because:

 - It belongs in the integration-tests module rather than the MQTT
   protocol module.
 - It is using a lot of non-standard components (e.g.
   EmbeddedJMSResource, Awaitility, etc.).
 - It is overly complicated (e.g. using its own MqttClientService).

This commit resolves all those problems. The new implementation is quite
a bit different but still equivalent. I reverted the original fix from
ARTEMIS-2476 and the test still fails.
@asfgit asfgit closed this in 2dc0ea1 Oct 13, 2022
@jbertram jbertram deleted the ARTEMIS-4037 branch September 13, 2023 18:18
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.

1 participant