diff --git a/src/test/java/io/supertokens/test/AuthRecipesParallelTest.java b/src/test/java/io/supertokens/test/AuthRecipesParallelTest.java index 1ae32f2f5..dfd7c78ef 100644 --- a/src/test/java/io/supertokens/test/AuthRecipesParallelTest.java +++ b/src/test/java/io/supertokens/test/AuthRecipesParallelTest.java @@ -101,7 +101,7 @@ public void timeTakenFor500SignInParallel() throws Exception { System.out.println("Retry counter: " + retryCounter.get()); assertEquals(counter.get(), numberOfThreads); - if (retryCounter.get() == 0) { + if (retryCounter.get() != 0) { process.kill(); assertNotNull(process.checkOrWaitForEvent(ProcessState.PROCESS_STATE.STOPPED)); continue; // retry