Skip to content

Commit

Permalink
Update test session environment variable name (#7640)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikita-tkachenko-datadog authored Sep 18, 2024
1 parent a04c89f commit 3c0cbd7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public final class CiVisibilityConfig {
"civisibility.jacoco.plugin.version";
public static final String CIVISIBILITY_GRADLE_SOURCE_SETS = "civisibility.gradle.sourcesets";

public static final String SESSION_NAME = "session.name";
public static final String TEST_SESSION_NAME = "test.session.name";

private CiVisibilityConfig() {}
}
4 changes: 2 additions & 2 deletions internal-api/src/main/java/datadog/trace/api/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@
import static datadog.trace.api.config.CiVisibilityConfig.CIVISIBILITY_TEST_SKIPPING_ENABLED;
import static datadog.trace.api.config.CiVisibilityConfig.CIVISIBILITY_TOTAL_FLAKY_RETRY_COUNT;
import static datadog.trace.api.config.CiVisibilityConfig.CIVISIBILITY_TRACE_SANITATION_ENABLED;
import static datadog.trace.api.config.CiVisibilityConfig.SESSION_NAME;
import static datadog.trace.api.config.CiVisibilityConfig.TEST_SESSION_NAME;
import static datadog.trace.api.config.CrashTrackingConfig.CRASH_TRACKING_AGENTLESS;
import static datadog.trace.api.config.CrashTrackingConfig.CRASH_TRACKING_AGENTLESS_DEFAULT;
import static datadog.trace.api.config.CrashTrackingConfig.CRASH_TRACKING_TAGS;
Expand Down Expand Up @@ -1908,7 +1908,7 @@ PROFILING_DATADOG_PROFILER_ENABLED, isDatadogProfilerSafeInCurrentEnvironment())
ciVisibilityFlakyRetryCount = configProvider.getInteger(CIVISIBILITY_FLAKY_RETRY_COUNT, 5);
ciVisibilityTotalFlakyRetryCount =
configProvider.getInteger(CIVISIBILITY_TOTAL_FLAKY_RETRY_COUNT, 1000);
ciVisibilitySessionName = configProvider.getString(SESSION_NAME);
ciVisibilitySessionName = configProvider.getString(TEST_SESSION_NAME);
ciVisibilityModuleName = configProvider.getString(CIVISIBILITY_MODULE_NAME);
ciVisibilityTestCommand = configProvider.getString(CIVISIBILITY_TEST_COMMAND);
ciVisibilityTelemetryEnabled = configProvider.getBoolean(CIVISIBILITY_TELEMETRY_ENABLED, true);
Expand Down

0 comments on commit 3c0cbd7

Please sign in to comment.