himanshujindal commented on code in PR #4304:
URL: https://github.com/apache/cassandra/pull/4304#discussion_r2301735039
##########
test/distributed/org/apache/cassandra/distributed/test/log/ClusterMetadataTestHelper.java:
##########
@@ -798,19 +798,27 @@ public MoveProcess finishMove()
public static void addEndpoint(int i)
{
+ addEndpoint(i, NodeVersion.CURRENT);
+ }
+
+ public static void addEndpoint(int i, NodeVersion nodeVersion) {
try
Review Comment:
Fixed.
##########
test/distributed/org/apache/cassandra/distributed/test/log/ClusterMetadataTestHelper.java:
##########
@@ -798,19 +798,27 @@ public MoveProcess finishMove()
public static void addEndpoint(int i)
{
+ addEndpoint(i, NodeVersion.CURRENT);
+ }
+
+ public static void addEndpoint(int i, NodeVersion nodeVersion) {
try
{
- addEndpoint(InetAddressAndPort.getByName("127.0.0." + i), new
Murmur3Partitioner.LongToken(i));
+ addEndpoint(InetAddressAndPort.getByName("127.0.0." + i), new
Murmur3Partitioner.LongToken(i), nodeVersion);
}
catch (UnknownHostException e)
{
throw new RuntimeException(e);
}
}
- public static void addEndpoint(InetAddressAndPort endpoint, Token t)
+ public static void addEndpoint(InetAddressAndPort endpoint, Token t) {
+ addEndpoint(endpoint, t, NodeVersion.CURRENT);
Review Comment:
Fixed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]