Skip to content

Commit bd36d59

Browse files
committed
Add temp debug stmts for server start.
1 parent 93cb9ad commit bd36d59

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

interop-testing/src/main/java/io/grpc/testing/integration/TestServiceServer.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,8 @@ void parseArgs(String[] args) {
156156
@SuppressWarnings("AddressSelection")
157157
@VisibleForTesting
158158
void start() throws Exception {
159+
System.out.println("TestServiceServer.start called with addressType " + addressType);
160+
System.out.flush();
159161
executor = Executors.newSingleThreadScheduledExecutor();
160162
ServerCredentials serverCreds;
161163
if (useAlts) {
@@ -195,6 +197,8 @@ void start() throws Exception {
195197
}
196198
if (setMcsLimit) {
197199
((NettyServerBuilder) serverBuilder).maxConcurrentCallsPerConnection(2);
200+
System.out.println("TestServiceServer.start set mcs limit to 2 in netty server builder.");
201+
System.out.flush();
198202
}
199203
break;
200204
case IPV6:
@@ -211,6 +215,8 @@ void start() throws Exception {
211215
default:
212216
throw new AssertionError("Unknown address type: " + addressType);
213217
}
218+
System.out.println("TestServiceServer.start calling serverBuilder.start.");
219+
System.out.flush();
214220
server = serverBuilder
215221
.maxInboundMessageSize(AbstractInteropTest.MAX_MESSAGE_SIZE)
216222
.addService(
@@ -220,6 +226,8 @@ void start() throws Exception {
220226
.intercept(OrcaMetricReportingServerInterceptor.create(metricRecorder))
221227
.build()
222228
.start();
229+
System.out.println("TestServiceServer.start After calling serverBuilder.start.");
230+
System.out.flush();
223231
}
224232

225233
@VisibleForTesting

0 commit comments

Comments
 (0)