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:
Terry Wilson 2023-10-31 14:17:51 -07:00 committed by GitHub
parent b6947de95a
commit d3729faea6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);