Open
Conversation
…iner is not restarted after each test, share mqtt docker test container between all tests.
…n on disconnect while returing a connected state.
lhuxohl
requested changes
Apr 1, 2026
| import com.hivemq.client.mqtt.mqtt5.message.unsubscribe.Mqtt5UnsubscribeBuilder | ||
| import com.hivemq.client.mqtt.mqtt5.message.unsubscribe.unsuback.Mqtt5UnsubAck | ||
| import org.openbase.jul.communication.config.CommunicatorConfig | ||
| import org.openbase.jul.exception.tryOrNull |
There was a problem hiding this comment.
imported but I don't see it used anywhere
|
|
||
| private val scope = ScopeProcessor.generateScope("/test/integration") | ||
| private val config = CommunicatorConfig(brokerHost, brokerPort) | ||
| private val config get() = CommunicatorConfig(brokerHost!!, brokerPort!!) |
|
|
||
| internal class SharedMqttClientTest : AbstractIntegrationTest() { | ||
|
|
||
| private val config get() = CommunicatorConfig(brokerHost!!, brokerPort!!) |
| MountableFile.forHostPath(mosquittoConfig.toString()), | ||
| "/mosquitto/config/mosquitto.conf" | ||
| ) | ||
| .apply { withStartupTimeout(Duration.ofSeconds(30)).start() } |
Member
Author
There was a problem hiding this comment.
I introduced a const, however, I am not sure if this really improved the readability of the code.
Comment on lines
+14
to
+54
| ## # available=5.10.3 | ||
| ## # available=5.10.4 | ||
| ## # available=5.10.5 | ||
| ## # available=5.11.0-M1 | ||
| ## # available=5.11.0-M2 | ||
| ## # available=5.11.0-RC1 | ||
| ## # available=5.11.0 | ||
| ## # available=5.11.1 | ||
| ## # available=5.11.2 | ||
| ## # available=5.11.3 | ||
| ## # available=5.11.4 | ||
| ## # available=5.12.0-M1 | ||
| ## # available=5.12.0-RC1 | ||
| ## # available=5.12.0-RC2 | ||
| ## # available=5.12.0 | ||
| ## # available=5.12.1 | ||
| ## # available=5.12.2 | ||
| ## # available=5.13.0-M1 | ||
| ## # available=5.13.0-M2 | ||
| ## # available=5.13.0-M3 | ||
| ## # available=5.13.0-RC1 | ||
| ## # available=5.13.0 | ||
| ## # available=5.13.1 | ||
| ## # available=5.13.2 | ||
| ## # available=5.13.3 | ||
| ## # available=5.13.4 | ||
| ## # available=5.14.0-RC1 | ||
| ## # available=5.14.0 | ||
| ## # available=5.14.1 | ||
| ## # available=5.14.2 | ||
| ## # available=5.14.3 | ||
| ## # available=6.0.0-M1 | ||
| ## # available=6.0.0-M2 | ||
| ## # available=6.0.0-RC1 | ||
| ## # available=6.0.0-RC2 | ||
| ## # available=6.0.0-RC3 | ||
| ## # available=6.0.0 | ||
| ## # available=6.0.1 | ||
| ## # available=6.0.2 | ||
| ## # available=6.0.3 | ||
| ## # available=6.1.0-M1 |
Member
Author
There was a problem hiding this comment.
this file is managed by gradle (checkout readme). Its just listing all available updates.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📜 Description
Changes proposed in this pull request: