We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34d68bb commit 6de8ee1Copy full SHA for 6de8ee1
test/distributed/org/apache/cassandra/distributed/test/sai/ANNOptionsDistributedTest.java
@@ -16,8 +16,6 @@
16
17
package org.apache.cassandra.distributed.test.sai;
18
19
-import java.util.concurrent.ThreadLocalRandom;
20
-
21
import org.junit.Test;
22
23
import net.bytebuddy.ByteBuddy;
@@ -120,8 +118,7 @@ public static class BB
120
118
{
121
119
public static void install(ClassLoader classLoader, int node)
122
123
- // inject randomly first or second node to make sure it works if the node is a coordinator or replica
124
- if (node == ThreadLocalRandom.current().nextInt(1, 3))
+ if (node == 1)
125
126
new ByteBuddy().rebase(MessagingService.class)
127
.method(named("currentVersion"))
0 commit comments