Skip to content

Commit

Permalink
Change Variable name to appropriate
Browse files Browse the repository at this point in the history
  • Loading branch information
vasireddy99 committed Oct 5, 2023
1 parent 8512a09 commit cdabe72
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ void testJson() throws Exception {
collector.stop();
}

void validateLogs(String logName, String logFilePath) throws Exception {
void validateLogs(String testLogStreamName, String logFilePath) throws Exception {
var file = new File(logFilePath);
var lines = new HashSet<String>();

Expand Down Expand Up @@ -140,7 +140,7 @@ void validateLogs(String logName, String logFilePath) throws Exception {
var start = now.minus(Duration.ofMinutes(2));
var end = now.plus(Duration.ofMinutes(2));
var response = cwClient.getLogEvents(GetLogEventsRequest.builder().logGroupName("adot-testbed/logs-component-testing/logs")
.logStreamName(logName)
.logStreamName(testLogStreamName)
.startTime(start.toEpochMilli())
.endTime(end.toEpochMilli())
.build());
Expand Down

0 comments on commit cdabe72

Please sign in to comment.