mirror of https://github.com/grpc/grpc-java.git
interop-testing: Fix disabling of stream tracers (#10638)
The client stream tracers need to be disabled before setUp() is called.
This commit is contained in:
parent
b6947de95a
commit
d3729faea6
|
|
@ -472,10 +472,10 @@ public class StressTestClient {
|
|||
Thread.currentThread().setName(gaugeName);
|
||||
|
||||
Tester tester = new Tester();
|
||||
tester.setUp();
|
||||
// The client stream tracers that AbstractInteropTest installs by default would fill up the
|
||||
// heap in no time in a long running stress test with many requests.
|
||||
tester.setEnableClientStreamTracers(false);
|
||||
tester.setUp();
|
||||
|
||||
WeightedTestCaseSelector testCaseSelector = new WeightedTestCaseSelector(testCaseWeightPairs);
|
||||
Long endTime = durationSec == null ? null : System.nanoTime() + SECONDS.toNanos(durationSecs);
|
||||
|
|
|
|||
Loading…
Reference in New Issue