Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Improve VelbusBasicTest.groovy robustness

Rich Turner216618a9e71e
diff --git a/test/src/test/groovy/org/openremote/test/protocol/velbus/VelbusBasicTest.groovy b/test/src/test/groovy/org/openremote/test/protocol/velbus/VelbusBasicTest.groovy
index 6f327777f..747e92167 100644
--- a/test/src/test/groovy/org/openremote/test/protocol/velbus/VelbusBasicTest.groovy
+++ b/test/src/test/groovy/org/openremote/test/protocol/velbus/VelbusBasicTest.groovy
@@ -1029,9 +1029,9 @@ class VelbusBasicTest extends Specification {
then: "the button press packet should have been sent to the message processor"
conditions.eventually {
assert device.getPropertyValue("CH22") == InputProcessor.ChannelState.PRESSED
- }
- if (network.client == messageProcessor) {
- assert messageProcessor.sentMessages.contains("0F F8 32 04 00 20 00 00 A3 04 00 00 00 00")
+ if (network.client == messageProcessor) {
+ assert messageProcessor.sentMessages.contains("0F F8 32 04 00 20 00 00 A3 04 00 00 00 00")
+ }
}
when: "a button release is written to the device"