ARTEMIS-4020 Fixing Semaphore on soak-tests/OWLeakTest
I did not intend to have this difference in the semaphore. The idea is that we never keep messages pending on this case, otherwise such a huge message would use too much memory.
This commit is contained in:
parent
18cfdb7049
commit
20fde76e99
|
@ -122,7 +122,7 @@ public class OWLeakTest extends SoakTestBase {
|
|||
|
||||
String QUEUE_NAME = "some_queue";
|
||||
|
||||
Semaphore semaphore = new Semaphore(PRODUCERS + 1);
|
||||
Semaphore semaphore = new Semaphore(PRODUCERS);
|
||||
|
||||
CountDownLatch latch = new CountDownLatch(PRODUCERS + 1 + 1);
|
||||
|
||||
|
|
Loading…
Reference in New Issue