Remove okhttp debug output from smoke tests (#8944)

This commit is contained in:
Lauri Tulmin 2023-07-13 14:45:02 +03:00 committed by GitHub
parent 5c9b40bc02
commit a3935c6fae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -23,7 +23,11 @@ public abstract class AbstractTestContainerManager implements TestContainerManag
// while modern JVMs understand linux container memory limits, they do not understand windows
// container memory limits yet, so we need to explicitly set max heap in order to prevent the
// JVM from taking too much memory and hitting the windows container memory limit
environment.put(jvmArgsEnvVarName, "-Xmx512m -javaagent:/" + TARGET_AGENT_FILENAME);
environment.put(
jvmArgsEnvVarName,
"-Xmx512m -javaagent:/"
+ TARGET_AGENT_FILENAME
+ " -Dio.opentelemetry.javaagent.slf4j.simpleLogger.log.okhttp3.internal.concurrent.TaskRunner=INFO");
environment.put("OTEL_BSP_MAX_EXPORT_BATCH_SIZE", "1");
environment.put("OTEL_BSP_SCHEDULE_DELAY", "10ms");
environment.put("OTEL_METRIC_EXPORT_INTERVAL", "1000");