Skip to content

Commit 8cbd0f4

Browse files
committed
util: Add RunWith to RandomSubsettingLaodBalancerTest
In some environments the test won't run without the annotation.
1 parent e2d5bad commit 8cbd0f4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

util/src/test/java/io/grpc/util/RandomSubsettingLoadBalancerTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@
4747
import org.junit.Before;
4848
import org.junit.Rule;
4949
import org.junit.Test;
50+
import org.junit.runner.RunWith;
51+
import org.junit.runners.JUnit4;
5052
import org.mockito.ArgumentCaptor;
5153
import org.mockito.Captor;
5254
import org.mockito.Mock;
@@ -55,6 +57,7 @@
5557
import org.mockito.junit.MockitoRule;
5658
import org.mockito.stubbing.Answer;
5759

60+
@RunWith(JUnit4.class)
5861
public class RandomSubsettingLoadBalancerTest {
5962
@Rule
6063
public final MockitoRule mockitoRule = MockitoJUnit.rule();

0 commit comments

Comments
 (0)