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:
Clebert Suconic 2022-10-04 15:02:08 -04:00
parent 18cfdb7049
commit 20fde76e99
1 changed files with 1 additions and 1 deletions

View File

@ -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);