File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
grpc-secure/src/test/java/org/springframework/grpc/sample Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 77import java .util .concurrent .atomic .AtomicReference ;
88
99import org .awaitility .Awaitility ;
10- import org .junit .jupiter .api .Disabled ;
1110import org .junit .jupiter .api .Test ;
1211import org .springframework .beans .factory .annotation .Autowired ;
1312import org .springframework .beans .factory .annotation .Qualifier ;
@@ -55,10 +54,9 @@ void contextLoads() {
5554 }
5655
5756 @ Test
58- @ Disabled ("Code is coming back PERMISSION_DENIED NOT UNAUTHENTICATED" )
5957 void unauthenticated () {
6058 assertThatExceptionOfType (StatusRuntimeException .class )
61- .isThrownBy (() -> basic . streamHello (HelloRequest .newBuilder ().setName ("Alien" ).build ()). next ( ))
59+ .isThrownBy (() -> stub . sayHello (HelloRequest .newBuilder ().setName ("Alien" ).build ()))
6260 .extracting ("status.code" )
6361 .isEqualTo (Code .UNAUTHENTICATED );
6462 }
Original file line number Diff line number Diff line change 2121 <module >grpc-reactive</module >
2222 <module >grpc-secure</module >
2323 <module >grpc-server</module >
24- <!-- <module>grpc-server-kotlin</module> -- >
24+ <module >grpc-server-kotlin</module >
2525 <module >grpc-server-netty-shaded</module >
2626 <module >grpc-tomcat</module >
27- <!-- <module>grpc-tomcat-secure</module> -- >
27+ <module >grpc-tomcat-secure</module >
2828<!-- <module>grpc-webflux</module>-->
2929<!-- <module>grpc-webflux-secure</module>-->
3030 </modules >
You can’t perform that action at this time.
0 commit comments