Skip to content

Commit ea6a4aa

Browse files
committed
Avoid creating separate async stub for MCS test.
1 parent 0c404ef commit ea6a4aa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ private void runTest(TestCases testCase) throws Exception {
565565
}
566566

567567
case MAX_CONCURRENT_STREAMS_CONNECTION_SCALING: {
568-
tester.testMcs(TestServiceGrpc.newStub(tester.createChannelBuilder().build()));
568+
tester.testMcs();
569569
break;
570570
}
571571
default:
@@ -1076,7 +1076,7 @@ Object take() throws InterruptedException {
10761076
}
10771077
}
10781078

1079-
public void testMcs(TestServiceGrpc.TestServiceStub asyncStub) throws Exception {
1079+
public void testMcs() throws Exception {
10801080
final Object lastItem = new Object();
10811081
StreamingOutputCallResponseObserver responseObserver1 =
10821082
new StreamingOutputCallResponseObserver(lastItem);

0 commit comments

Comments
 (0)