Skip to content

Commit

Permalink
UT Fix
Browse files Browse the repository at this point in the history
Signed-off-by: Dev Agarwal <[email protected]>
  • Loading branch information
devagarwal1803 committed Jan 10, 2024
1 parent 28f1720 commit 94849e9
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@

import static org.opensearch.telemetry.TelemetrySettings.TRACER_ENABLED_SETTING;
import static org.opensearch.telemetry.TelemetrySettings.TRACER_FEATURE_ENABLED_SETTING;
import static org.opensearch.telemetry.TelemetrySettings.TRACER_SAMPLER_ACTION_PROBABILITY;
import static org.opensearch.telemetry.TelemetrySettings.TRACER_SAMPLER_PROBABILITY;
import static org.hamcrest.CoreMatchers.instanceOf;
import static org.hamcrest.CoreMatchers.is;
Expand All @@ -56,7 +57,10 @@ public void setUp() throws Exception {

final TelemetrySettings telemetrySettings = new TelemetrySettings(
settings,
new ClusterSettings(Settings.EMPTY, Set.of(TRACER_ENABLED_SETTING, TRACER_SAMPLER_PROBABILITY))
new ClusterSettings(
Settings.EMPTY,
Set.of(TRACER_ENABLED_SETTING, TRACER_SAMPLER_PROBABILITY, TRACER_SAMPLER_ACTION_PROBABILITY)
)
);

final TracingTelemetry tracingTelemetry = new MockTracingTelemetry();
Expand Down

0 comments on commit 94849e9

Please sign in to comment.