Merge branch 'master' into 'master'

Correcting integration test for device types

See merge request entgra/product-iots!3
merge-requests/2/head
Milan Harindu 6 years ago
commit c3ea7e9012

@ -89,7 +89,7 @@ public class DeviceTypeManagementJMeterTestCase extends TestBase {
// Allow some time for message delivery
Thread.sleep(10000);
ArrayList<MqttMessage> mqttMessages = mqttDeviceSubscriberClient.getMqttMessages();
Assert.assertEquals("listener did not recieve mqtt messages ", 0, mqttMessages.size());
Assert.assertEquals("listener did not recieve mqtt messages ", 1, mqttMessages.size());
String topicPub = automationContext.getContextTenant().getDomain() + "/"+deviceType+"/"+deviceId+"/events";
int qos = 2;

Loading…
Cancel
Save