Skip to content

Commit 5243f77

Browse files
committed
don't use mock filesystems, we expect exactly one file
1 parent 0c9c3c4 commit 5243f77

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

distribution/tools/server-cli/src/test/java/org/elasticsearch/server/cli/JvmOptionsParserTests.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
package org.elasticsearch.server.cli;
1111

12+
import org.apache.lucene.tests.util.LuceneTestCase;
1213
import org.elasticsearch.common.settings.Settings;
1314
import org.elasticsearch.common.util.concurrent.EsExecutors;
1415
import org.elasticsearch.core.IOUtils;
@@ -43,6 +44,7 @@
4344
import static org.hamcrest.Matchers.not;
4445

4546
@WithoutSecurityManager
47+
@LuceneTestCase.SuppressFileSystems("*")
4648
public class JvmOptionsParserTests extends ESTestCase {
4749

4850
private static Map<String, String> testSysprops;

0 commit comments

Comments
 (0)