Skip to content

Commit

Permalink
RD-13630-add-enable-logs-env-var-for-java-distro
Browse files Browse the repository at this point in the history
  • Loading branch information
moshe-shaham-lumigo committed Sep 19, 2024
1 parent 73222f4 commit 6f358cc
Showing 1 changed file with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,19 +281,4 @@ public void testAllMagicScrubbing(
client,
(traceNodes) -> assertThat(getProcessEnvironment(traceNodes), is(SCRUBBED_VALUE)));
}

@Test
public void testLumigoEnableLogs(
final @Configuration(
env = {
@EnvVar(key = "LUMIGO_ENABLE_LOGS", value = "true"),
}) TestAppExtension.TestApplication target,
final OkHttpClient client)
throws IOException {
executeTest(
target,
client,
(traceNodes) ->
assertThat(target.getLogs(), containsString("Lumigo - enabling logs exporter")));
}
}

0 comments on commit 6f358cc

Please sign in to comment.