Skip to content

Commit cb83224

Browse files
author
Simon MacMullen
committed
Reapply 3d1891c97ae0 after Tim wiped it out in 000b2f431293.
1 parent 23d0715 commit cb83224

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/src/com/rabbitmq/client/test/functional/TTLHandling.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,10 @@ public void testTransactionalPublishWithGet() throws Exception {
121121
}
122122

123123
public void testExpiryWithRequeue() throws Exception {
124-
declareAndBindQueue(100);
124+
declareAndBindQueue(200);
125125

126126
publish(MSG[0]);
127-
Thread.sleep(50);
127+
Thread.sleep(100);
128128
publish(MSG[1]);
129129
publish(MSG[2]);
130130

@@ -134,7 +134,7 @@ public void testExpiryWithRequeue() throws Exception {
134134
closeChannel();
135135
openChannel();
136136

137-
Thread.sleep(60);
137+
Thread.sleep(150);
138138
expectBodyAndRemainingMessages(MSG[1], 1);
139139
expectBodyAndRemainingMessages(MSG[2], 0);
140140
}

0 commit comments

Comments
 (0)