diff --git a/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/TestHierarchicalDocBuilder.java b/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/TestHierarchicalDocBuilder.java index e66f4b09e5e..ca0c0b1dc73 100644 --- a/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/TestHierarchicalDocBuilder.java +++ b/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/TestHierarchicalDocBuilder.java @@ -96,7 +96,7 @@ public class TestHierarchicalDocBuilder extends AbstractDataImportHandlerTestCas final String grandChildType = "grand_child"; List parentIds = createDataIterator("select * from PARENT", parentType, parentType, parentsNum); - Collections.shuffle(parentIds); + Collections.shuffle(parentIds, random()); String parentId1 = parentIds.get(0); String parentId2 = parentIds.get(1);