Skip to content

Commit

Permalink
messaging test pause reduction to work with non-replicaset
Browse files Browse the repository at this point in the history
  • Loading branch information
sboesebeck committed Oct 17, 2018
1 parent d5373be commit 6b55844
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/de/caluga/test/mongo/suite/MessagingTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -1579,7 +1579,7 @@ public void priorityPausedMessagingTest() throws Exception {
final AtomicInteger count = new AtomicInteger();

list.clear();
Messaging receiver = new Messaging(morphium, 100, false, true, 100);
Messaging receiver = new Messaging(morphium, 10, false, true, 100);
receiver.start();

receiver.addListenerForMessageNamed("pause", (msg, m) -> {
Expand Down Expand Up @@ -1632,7 +1632,7 @@ public void priorityTest() throws Exception {
list.clear();
//if running multithreadded, the execution order might differ a bit because of the concurrent
//execution - hence if set to multithreadded, the test will fail!
Messaging receiver = new Messaging(morphium, 100, false, false, 100);
Messaging receiver = new Messaging(morphium, 10, false, false, 100);

receiver.addMessageListener((msg, m) -> {
log.info("Incoming message: prio " + m.getPriority() + " timestamp: " + m.getTimestamp());
Expand Down Expand Up @@ -1700,7 +1700,7 @@ public void unpausingTest() throws Exception {
Messaging sender = new Messaging(morphium, 100, false);
sender.start();

Messaging receiver=new Messaging(morphium,100,false,true,10);
Messaging receiver=new Messaging(morphium,10,false,true,10);
receiver.start();

receiver.addListenerForMessageNamed("pause", (msg, m) -> {
Expand Down

0 comments on commit 6b55844

Please sign in to comment.