paho.mqtt.java icon indicating copy to clipboard operation
paho.mqtt.java copied to clipboard

waitForCompletion(value) breaks ( fails ) in 1.1.2-SNAPSHOT

Open amprasanna opened this issue 9 years ago • 0 comments

Please fill out the form below before submitting, thank you!

  • [ ] Bug exists Release Version 1.1.1 ( Master Branch)
  • [ X] Bug exists in Snapshot Version 1.1.2-SNAPSHOT (Develop Branch)

Issue: I'm currently making use of the 1.1.2-SNAPSHOT. While leveraging it's recent additions, i'm trying out to test/simulate network failures using the ConnectionManipulationProxyServer.java. As part of the test case, when I use "waitForCompletion(value)", where value is any Integer value (ex: 1000 * 10), the execution breaks immediately when it reaches the 'waitForCompletion(value)'.

Basically, it doesn't wait nor behaves as defined, while executing the waitForCompletion(value), but breaks/squashes the execution.

Downgrading the Paho MQTT version back to 1.1.1 (Release build), the testing scenario behaves in the intended manner without any changes to the code set.

amprasanna avatar Jul 25 '17 08:07 amprasanna