Skip to content

Commit 873c7ff

Browse files
committed
Extending timeouts for OfflineBufferingTest to allow the slower Hudson Build to complete
Signed-off-by: James Sutton <james.sutton@uk.ibm.com>
1 parent 9e59772 commit 873c7ff

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

  • org.eclipse.paho.client.mqttv3.test/src/test/java/org/eclipse/paho/client/mqttv3/test/automaticReconnect

org.eclipse.paho.client.mqttv3.test/src/test/java/org/eclipse/paho/client/mqttv3/test/automaticReconnect/OfflineBufferingTest.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public static void setUpBeforeClass() throws Exception {
6868
* disconnected state and is then delivered once the client has reconnected
6969
* automatically.
7070
*/
71-
@Test(timeout=20000)
71+
@Test(timeout=60000)
7272
public void testSingleMessageBufferAndDeliver() throws Exception {
7373
String methodName = Utility.getMethodName();
7474
LoggingUtilities.banner(log, cclass, methodName);
@@ -139,7 +139,7 @@ public void testSingleMessageBufferAndDeliver() throws Exception {
139139
* disconnected state and that they are all then delivered once the client
140140
* has connected automatically.
141141
*/
142-
@Test(timeout=20000)
142+
@Test(timeout=60000)
143143
public void testManyMessageBufferAndDeliver() throws Exception {
144144
String methodName = Utility.getMethodName();
145145
LoggingUtilities.banner(log, cclass, methodName);
@@ -231,7 +231,7 @@ public void testManyMessageBufferAndDeliver() throws Exception {
231231
* Tests that the buffer correctly handles messages being buffered when the
232232
* buffer is full and deleteOldestBufferedMessage is set to true.
233233
*/
234-
@Test(timeout=20000)
234+
@Test(timeout=60000)
235235
public void testDeleteOldestBufferedMessages() throws Exception {
236236
String methodName = Utility.getMethodName();
237237
LoggingUtilities.banner(log, cclass, methodName);
@@ -288,7 +288,7 @@ public void testDeleteOldestBufferedMessages() throws Exception {
288288
* Tests that A message cannot be buffered when the buffer is full and
289289
* deleteOldestBufferedMessage is set to false.
290290
*/
291-
@Test(timeout=20000)
291+
@Test(timeout=60000)
292292
public void testNoDeleteOldestBufferedMessages() throws Exception {
293293
String methodName = Utility.getMethodName();
294294
LoggingUtilities.banner(log, cclass, methodName);
@@ -347,7 +347,7 @@ public void testNoDeleteOldestBufferedMessages() throws Exception {
347347
* Tests that if enabled, buffered messages are persisted to the persistence
348348
* layer
349349
*/
350-
@Test(timeout=20000)
350+
@Test(timeout=60000)
351351
public void testPersistBufferedMessages() throws Exception {
352352
String methodName = Utility.getMethodName();
353353
LoggingUtilities.banner(log, cclass, methodName);
@@ -407,7 +407,7 @@ public void testPersistBufferedMessages() throws Exception {
407407
* Tests that persisted buffered messages are published correctly when the
408408
* client connects for the first time and are un persisted.
409409
*/
410-
@Test(timeout=20000)
410+
@Test(timeout=60000)
411411
public void testUnPersistBufferedMessagesOnNewClient() throws Exception {
412412
String methodName = Utility.getMethodName();
413413
LoggingUtilities.banner(log, cclass, methodName);

0 commit comments

Comments
 (0)