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
* Update version to 2.18.0 for CatShards request and response

Signed-off-by: Harsh Garg <gkharsh@amazon.com>

* Retry Build

Signed-off-by: Harsh Garg <gkharsh@amazon.com>

* Fix CatShardsRequestTests

Signed-off-by: Harsh Garg <gkharsh@amazon.com>

* Retry Build

Signed-off-by: Harsh Garg <gkharsh@amazon.com>

---------

Signed-off-by: Harsh Garg <gkharsh@amazon.com>
Co-authored-by: Harsh Garg <gkharsh@amazon.com>
(cherry picked from commit 119abaf)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and Harsh Garg committed Nov 7, 2024
1 parent a957ded commit 6fa9a33
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 6fa9a33

Please sign in to comment.