Skip to content

Commit

Permalink
Pass RemoteSegmentMetadataHandlerTests tests
Browse files Browse the repository at this point in the history
Signed-off-by: Bhumika Saini <sabhumik@amazon.com>
  • Loading branch information
Bhumika Saini committed Jun 15, 2023
1 parent 6431f82 commit 3a5dfcc
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import org.apache.lucene.store.ByteBuffersDataOutput;
import org.apache.lucene.store.ByteBuffersIndexOutput;
import org.apache.lucene.store.OutputStreamIndexOutput;
import org.apache.lucene.util.Version;
import org.junit.After;
import org.junit.Before;
import org.opensearch.cluster.metadata.IndexMetadata;
Expand Down Expand Up @@ -130,6 +131,8 @@ private Map<String, String> getDummyData() {
+ randomIntBetween(1000, 5000)
+ "::"
+ randomIntBetween(1024, 2048)
+ "::"
+ Version.LATEST
);
expectedOutput.put(
prefix + ".cfs",
Expand All @@ -142,6 +145,8 @@ private Map<String, String> getDummyData() {
+ randomIntBetween(1000, 5000)
+ "::"
+ randomIntBetween(1024, 2048)
+ "::"
+ Version.LATEST
);
return expectedOutput;
}
Expand Down

0 comments on commit 3a5dfcc

Please sign in to comment.