Skip to content

Commit 9cebe0a

Browse files
authored
api: Add missing RunWith annotation to GlobalInterceptorsTest (grpc#9258)
Internal build failed with ``` grpc/api/src/test/java/io/grpc/GlobalInterceptorsTest.java:28: error: [JUnit4RunWithMissing] Test class may not be run because it is missing a @RunWith annotation public class GlobalInterceptorsTest { ^ Did you mean '@RunWith(JUnit4.class)' or 'public abstract class GlobalInterceptorsTest {'? ```
1 parent 0d6c402 commit 9cebe0a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

api/src/test/java/io/grpc/GlobalInterceptorsTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@
2424
import java.util.List;
2525
import java.util.regex.Pattern;
2626
import org.junit.Test;
27+
import org.junit.runner.RunWith;
28+
import org.junit.runners.JUnit4;
2729

30+
@RunWith(JUnit4.class)
2831
public class GlobalInterceptorsTest {
2932

3033
private final StaticTestingClassLoader classLoader =

0 commit comments

Comments
 (0)