ARTEMIS-437 tweak on the test. Making sure the test fails over during the message sends
This commit is contained in:
parent
8ce17b2be6
commit
45d1194009
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue