diff --git a/src/test/java/io/anserini/encoder/EncoderInferenceTest.java b/src/test/java/io/anserini/encoder/EncoderInferenceTest.java index b4573efaa2..4f88122cce 100644 --- a/src/test/java/io/anserini/encoder/EncoderInferenceTest.java +++ b/src/test/java/io/anserini/encoder/EncoderInferenceTest.java @@ -14,7 +14,7 @@ public abstract class EncoderInferenceTest { protected Object[][] longExamples; protected String getCacheDir() { - File cacheDir = new File(System.getProperty("user.home") + "/.cache/anserini/test"); + File cacheDir = new File(System.getProperty("user.home") + "/.cache/anserini/encoders"); if (!cacheDir.exists()) { cacheDir.mkdir(); } diff --git a/src/test/java/io/anserini/encoder/SpladeEncoderTokenizationTest.java b/src/test/java/io/anserini/encoder/SpladeEncoderTokenizationTest.java index 91cbcc0a16..96e8acb57f 100644 --- a/src/test/java/io/anserini/encoder/SpladeEncoderTokenizationTest.java +++ b/src/test/java/io/anserini/encoder/SpladeEncoderTokenizationTest.java @@ -76,7 +76,7 @@ public class SpladeEncoderTokenizationTest { }; static private String getCacheDir() { - File cacheDir = new File(System.getProperty("user.home") + "/.cache/anserini/test"); + File cacheDir = new File(System.getProperty("user.home") + "/.cache/anserini/encoders"); if (!cacheDir.exists()) { cacheDir.mkdir(); } diff --git a/src/test/java/io/anserini/encoder/UniCoilEncoderTokenizationTest.java b/src/test/java/io/anserini/encoder/UniCoilEncoderTokenizationTest.java index 12494fa012..2d2d3e7a15 100644 --- a/src/test/java/io/anserini/encoder/UniCoilEncoderTokenizationTest.java +++ b/src/test/java/io/anserini/encoder/UniCoilEncoderTokenizationTest.java @@ -76,7 +76,7 @@ public class UniCoilEncoderTokenizationTest { }; static private String getCacheDir() { - File cacheDir = new File(System.getProperty("user.home") + "/.cache/anserini/test"); + File cacheDir = new File(System.getProperty("user.home") + "/.cache/anserini/encoders"); if (!cacheDir.exists()) { cacheDir.mkdir(); }