diff --git a/src/test/java/io/supertokens/test/DotStartedFileTest.java b/src/test/java/io/supertokens/test/DotStartedFileTest.java
index 5463ba1fd..e54b30e89 100644
--- a/src/test/java/io/supertokens/test/DotStartedFileTest.java
+++ b/src/test/java/io/supertokens/test/DotStartedFileTest.java
@@ -188,7 +188,7 @@ public void processFailToStartDotStartedFileTest() throws Exception {
 
     @Test
     public void dotStartedFileAtTempDirLocation() throws Exception {
-        String tempDirLocation = new File("../temp/").getAbsolutePath();
+        String tempDirLocation = new File("../tempDir/").getAbsolutePath();
         String[] args = {"../", "tempDirLocation=" + tempDirLocation};
 
         String host = "localhost";
diff --git a/src/test/java/io/supertokens/test/WebserverTest.java b/src/test/java/io/supertokens/test/WebserverTest.java
index cbb4ea963..d87ee1e2a 100644
--- a/src/test/java/io/supertokens/test/WebserverTest.java
+++ b/src/test/java/io/supertokens/test/WebserverTest.java
@@ -967,7 +967,7 @@ public void validBasePath() throws InterruptedException, IOException, HttpRespon
 
     @Test
     public void tempDirLocationWebserverStarts() throws InterruptedException, HttpResponseException, IOException {
-        String tempDirLocation = new File("../temp/").getCanonicalPath();
+        String tempDirLocation = new File("../tempDir/").getCanonicalPath();
         String[] args = {"../", "tempDirLocation=" + tempDirLocation};
         TestingProcess process = TestingProcessManager.start(args);
         assertNotNull(process.checkOrWaitForEvent(PROCESS_STATE.STARTED));