Skip to content

Commit

Permalink
Update version to 2.18.0 for CatShards request and response (#16455) (#…
Browse files Browse the repository at this point in the history
…16591)

* Update version to 2.18.0 for CatShards request and response



* Retry Build



* Fix CatShardsRequestTests



* Retry Build



---------



(cherry picked from commit 119abaf)

Signed-off-by: Harsh Garg <gkharsh@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Harsh Garg <gkharsh@amazon.com>
  • Loading branch information
3 people authored Nov 7, 2024
1 parent 468e925 commit ce2efd6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void testSerializationWithOlderVersionsParametersNotSerialized() throws E
catShardsRequest.setCancelAfterTimeInterval(TimeValue.timeValueMillis(randomIntBetween(1, 5)));
catShardsRequest.setIndices(new String[2]);

Version version = VersionUtils.getPreviousVersion(Version.CURRENT);
Version version = VersionUtils.getPreviousVersion(Version.V_2_18_0);
try (BytesStreamOutput out = new BytesStreamOutput()) {
out.setVersion(version);
catShardsRequest.writeTo(out);
Expand Down

0 comments on commit ce2efd6

Please sign in to comment.