ARTEMIS-437 tweak on the test. Making sure the test fails over during the message sends

This commit is contained in:
Clebert Suconic 2016-03-11 16:51:09 -05:00
parent 8ce17b2be6
commit 45d1194009
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ public class LargeMessageOverReplicationTest extends ActiveMQTestBase {
public static void messageChunkReceived() { public static void messageChunkReceived() {
messageChunkCount++; messageChunkCount++;
if (messageChunkCount == 1000) { if (messageChunkCount == 100) {
final CountDownLatch latch = new CountDownLatch(1); final CountDownLatch latch = new CountDownLatch(1);
new Thread() { new Thread() {
public void run() { public void run() {