Skip to content

Commit

Permalink
Drop very old version check from this test
Browse files Browse the repository at this point in the history
  • Loading branch information
joegallo committed Oct 30, 2023
1 parent 7c77f51 commit e7a4316
Showing 1 changed file with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,11 @@ public void testSerialization() throws Exception {
TransportVersions.MINIMUM_COMPATIBLE,
TransportVersion.current()
);
// TODO: change version to V_6_6_0 after backporting:
if (testVersion.onOrAfter(TransportVersions.V_7_0_0)) {
if (randomBoolean()) {
clusterStateRequest.waitForMetadataVersion(randomLongBetween(1, Long.MAX_VALUE));
}
if (randomBoolean()) {
clusterStateRequest.waitForTimeout(new TimeValue(randomNonNegativeLong()));
}
if (randomBoolean()) {
clusterStateRequest.waitForMetadataVersion(randomLongBetween(1, Long.MAX_VALUE));
}
if (randomBoolean()) {
clusterStateRequest.waitForTimeout(new TimeValue(randomNonNegativeLong()));
}

BytesStreamOutput output = new BytesStreamOutput();
Expand Down

0 comments on commit e7a4316

Please sign in to comment.