mirror of https://github.com/grpc/grpc-java.git
api: Add missing RunWith annotation to GlobalInterceptorsTest (#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 {'?
```
This commit is contained in:
parent
0d6c40227b
commit
9cebe0aa2b
|
|
@ -24,7 +24,10 @@ import java.util.Arrays;
|
|||
import java.util.List;
|
||||
import java.util.regex.Pattern;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.JUnit4;
|
||||
|
||||
@RunWith(JUnit4.class)
|
||||
public class GlobalInterceptorsTest {
|
||||
|
||||
private final StaticTestingClassLoader classLoader =
|
||||
|
|
|
|||
Loading…
Reference in New Issue