From cdabe722688c8e82dad9c2c1ef2d11c265d18f95 Mon Sep 17 00:00:00 2001 From: Vasi Vasireddy Date: Wed, 4 Oct 2023 17:47:36 -0700 Subject: [PATCH] Change Variable name to appropriate --- .../src/test/java/software/amazon/adot/testbed/LogsTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/adot-testbed/app/src/test/java/software/amazon/adot/testbed/LogsTests.java b/adot-testbed/app/src/test/java/software/amazon/adot/testbed/LogsTests.java index 552167219..6238011a2 100644 --- a/adot-testbed/app/src/test/java/software/amazon/adot/testbed/LogsTests.java +++ b/adot-testbed/app/src/test/java/software/amazon/adot/testbed/LogsTests.java @@ -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(); @@ -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());