We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5094f92 commit 1c157dcCopy full SHA for 1c157dc
server/src/test/java/org/opensearch/action/admin/cluster/shards/CatShardsRequestTests.java
@@ -95,7 +95,7 @@ public void testSerializationWithOlderVersionsParametersNotSerialized() throws E
95
catShardsRequest.setCancelAfterTimeInterval(TimeValue.timeValueMillis(randomIntBetween(1, 5)));
96
catShardsRequest.setIndices(new String[2]);
97
98
- Version version = VersionUtils.getPreviousVersion(Version.CURRENT);
+ Version version = VersionUtils.getPreviousVersion(Version.V_2_18_0);
99
try (BytesStreamOutput out = new BytesStreamOutput()) {
100
out.setVersion(version);
101
catShardsRequest.writeTo(out);
0 commit comments