Skip to content

Commit b4247b9

Browse files
committed
Checkstyle
1 parent e521101 commit b4247b9

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

grpc-contrib/src/test/java/com/salesforce/grpc/contrib/ServersTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

grpc-testing-contrib/src/main/java/com/salesforce/grpc/testing/contrib/GrpcContextRule.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
import org.junit.runner.Description;
1414
import 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.

0 commit comments

Comments
 (0)