Skip to content

Commit eb4670b

Browse files
committed
Fix test inputs
1 parent 2e710fd commit eb4670b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java-manta-it/src/test/java/com/joyent/manta/client/MantaClientDirectoriesIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public void canAddAtMostOneFailedOperationWhenDepthSetIncorrectly() throws IOExc
186186

187187
private void directorySkipping(final boolean settingCorrectDepth) throws IOException {
188188
final int parentAddedDepth = RandomUtils.nextInt(1, 5);
189-
final int childAddedDepth = RandomUtils.nextInt(1, 5);
189+
final int childAddedDepth = RandomUtils.nextInt(2, 5); // child depth of 1 would trigger parts.length <= skipDepth early exit
190190

191191
final StringBuilder parentDirBuilder = new StringBuilder(testPathPrefix);
192192
for (int i = 0; i < parentAddedDepth; i++) {

0 commit comments

Comments
 (0)