We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b3c481 commit f965e93Copy full SHA for f965e93
lucene/test-framework/src/test/org/apache/lucene/tests/mockfile/TestWindowsFS.java
@@ -200,7 +200,7 @@ public void testFileName() {
200
// We need at least 2 chars before the special character, because resolving a drive
201
// letter (C:) or a path starting with "/" will not fail on real Windows.
202
fileName =
203
- RandomStrings.randomAsciiLettersOfLength(r, r.nextInt(2, 10))
+ RandomStrings.randomAsciiLettersOfLength(r, r.nextInt(8) + 2)
204
+ reservedCharacters[r.nextInt(reservedCharacters.length)]
205
+ RandomStrings.randomAsciiLettersOfLength(r, 1 + r.nextInt(9));
206
} else {
0 commit comments