averma21 commented on a change in pull request #383:
URL: https://github.com/apache/jackrabbit-oak/pull/383#discussion_r735292431
##########
File path:
oak-run-commons/src/test/java/org/apache/jackrabbit/oak/index/indexer/document/flatfile/FlatFileStoreTest.java
##########
@@ -348,11 +349,12 @@ int getTotalProvidedDocCount() {
}
/**
- * @return a map with keys denoting timestamp and values denoting paths
which were created at those timestamps.
+ * @return a map with keys denoting timestamp and values denoting paths
which were created at those timestamps. An
+ * iterator over the map entries would be in the increasing order of
timestamps.
*/
- private Map<Long, List<String>> createPathsWithTimestamps() {
- Map<Long, List<String>> map = new HashMap<>();
- for( int i = 1; i <= 10; i++) {
+ private LinkedHashMap<Long, List<String>> createPathsWithTimestamps() {
+ LinkedHashMap<Long, List<String>> map = new LinkedHashMap<>();
+ for( int i = 1; i <= 15; i++) {
Review comment:
This is test class. I just increased the data in the test a bit.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]