diff --git a/src/test/java/io/supertokens/test/InMemoryDBTest.java b/src/test/java/io/supertokens/test/InMemoryDBTest.java index da57aca09..e9198ccc2 100644 --- a/src/test/java/io/supertokens/test/InMemoryDBTest.java +++ b/src/test/java/io/supertokens/test/InMemoryDBTest.java @@ -147,7 +147,7 @@ public void testConcurrentMetadataUpdates() throws Exception { @Test public void createAndForgetSession() throws Exception { - try { + { String[] args = {"../"}; TestingProcessManager.TestingProcess process = TestingProcessManager.start(args, false); process.getProcess().setForceInMemoryDB(); @@ -171,8 +171,6 @@ public void createAndForgetSession() throws Exception { process.kill(); assertNotNull(process.checkOrWaitForEvent(ProcessState.PROCESS_STATE.STOPPED)); - } catch (Exception e) { - throw e; } { String[] args = {"../"};