Skip to content

Commit

Permalink
update collector configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jj22ee committed Dec 4, 2023
1 parent 9515df1 commit 6ff9f87
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ private GenericContainer<?> createAndStartCollector(String configFilePath) throw
.withLogConsumer(new Slf4jLogConsumer(collectorLogger))
.waitingFor(Wait.forLogMessage(".*Everything is ready. Begin running and processing data.*", 1))
.withEnv(envVariables)
.withCommand("--config", "/etc/collector/config.yaml", "AWS_REGION=us-west-2");
.withCommand("--config", "/etc/collector/config.yaml");

collector.start();
return collector;
Expand Down Expand Up @@ -120,7 +120,7 @@ List<String> createTraces(boolean useXRayIDGenerator) throws Exception {
}

// Takes a few seconds for traces to appear in XRay
Thread.sleep(15000);
Thread.sleep(20000);

assertThat(traceIds).hasSize(numOfTraces);
return traceIds;
Expand Down

0 comments on commit 6ff9f87

Please sign in to comment.