File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
grpc-spring-boot-starter-demo/src/test/java/org/lognet/springboot/grpc Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1212import io .micrometer .prometheus .PrometheusConfig ;
1313import org .awaitility .Awaitility ;
1414import org .hamcrest .Matchers ;
15+ import org .junit .Ignore ;
1516import org .junit .Test ;
1617import org .junit .runner .RunWith ;
1718import org .lognet .springboot .grpc .demo .DemoApp ;
@@ -98,8 +99,8 @@ public boolean supports(Class<?> authentication) {
9899
99100 }
100101
101- // @Test
102- public void validationShouldInvokedBeforeAuthTest () {
102+ @ Test
103+ public void validationShouldInvokedBeforeAuthTest () {
103104 final GreeterGrpc .GreeterBlockingStub stub = GreeterGrpc .newBlockingStub (super .getChannel ());
104105 StatusRuntimeException e = assertThrows (StatusRuntimeException .class , () -> {
105106 stub .helloPersonValidResponse (GreeterOuterClass .Person .newBuilder ()
@@ -114,7 +115,7 @@ public void validationShouldInvokedBeforeAuthTest() {
114115 }
115116
116117 @ Override
117- public void simpleGreeting () throws ExecutionException , InterruptedException {
118+ public void simpleGreeting () throws Exception {
118119 AuthCallCredentials callCredentials = new AuthCallCredentials (
119120 AuthHeader .builder ().basic ("user" ,"pwd" .getBytes ())
120121 );
You can’t perform that action at this time.
0 commit comments