Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

package org.apache.cassandra.distributed.test.sai;

import java.util.concurrent.ThreadLocalRandom;

import org.junit.Test;

import net.bytebuddy.ByteBuddy;
Expand Down Expand Up @@ -120,8 +118,7 @@ public static class BB
{
public static void install(ClassLoader classLoader, int node)
{
// inject randomly first or second node to make sure it works if the node is a coordinator or replica
if (node == ThreadLocalRandom.current().nextInt(1, 3))
if (node == 1)
{
new ByteBuddy().rebase(MessagingService.class)
.method(named("currentVersion"))
Expand Down