File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
grpc-contrib/src/test/java/com/salesforce/grpc/contrib
grpc-testing-contrib/src/main/java/com/salesforce/grpc/testing/contrib Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ public void shutdownGracefullyThrowsIfMaxWaitTimeInMillisIsZero() {
3434
3535 assertThatThrownBy (() -> Servers .shutdownGracefully (server , 0 ))
3636 .isInstanceOf (IllegalArgumentException .class )
37- .hasMessageContaining ("maxWaitTimeInMillis " );
37+ .hasMessageContaining ("timeout must be greater than 0 " );
3838 }
3939
4040 @ Test
@@ -44,7 +44,7 @@ public void shutdownGracefullyThrowsIfMaxWaitTimeInMillisIsLessThanZero() {
4444
4545 assertThatThrownBy (() -> Servers .shutdownGracefully (server , maxWaitTimeInMillis ))
4646 .isInstanceOf (IllegalArgumentException .class )
47- .hasMessageContaining ("maxWaitTimeInMillis " );
47+ .hasMessageContaining ("timeout must be greater than 0 " );
4848 }
4949
5050 @ Test
Original file line number Diff line number Diff line change 1313import org .junit .runner .Description ;
1414import org .junit .runners .model .Statement ;
1515
16- import java .util .logging .Logger ;
17-
1816/**
1917 * {@code GrpcContextRule} is a JUnit {@link TestRule} that forcibly resets the gRPC
2018 * {@link Context} to {@link Context#ROOT} between every unit test.
You can’t perform that action at this time.
0 commit comments