100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
Improved HttpServerProtocolTest.groovy reliability
Rich Turner384df1ce3457
diff --git a/test/src/test/groovy/org/openremote/test/protocol/http/HttpServerProtocolTest.groovy b/test/src/test/groovy/org/openremote/test/protocol/http/HttpServerProtocolTest.groovyindex 85b14695c..1734e4f7a 100644--- a/test/src/test/groovy/org/openremote/test/protocol/http/HttpServerProtocolTest.groovy+++ b/test/src/test/groovy/org/openremote/test/protocol/http/HttpServerProtocolTest.groovy@@ -420,7 +420,11 @@ class HttpServerProtocolTest extends Specification implements ManagerContainerTr}when: "an attempt is made to use the removed endpoint"- authenticatedTestResource.postAsset(testAsset)+ try {+ authenticatedTestResource.postAsset(testAsset)+ } catch (Exception e) {+ // For some reason the NotAllowedException isn't always thrown - weird+ }then: "the asset should not have been posted"new PollingConditions(initialDelay: 3).eventually {