Skip to content

Commit def7df7

Browse files
committed
Address Sonarlint issues.
1 parent 1628b6c commit def7df7

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

powertools-e2e-tests/src/test/java/software/amazon/lambda/powertools/LargeMessageE2ET.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ void bigSQSMessageOffloadedToS3_shouldLoadFromS3() throws IOException {
147147
}
148148

149149
@Test
150-
void smallSQSMessage_shouldNotReadFromS3() throws IOException {
150+
void smallSQSMessage_shouldNotReadFromS3() {
151151
// GIVEN
152152
final ExtendedClientConfiguration extendedClientConfig = new ExtendedClientConfiguration()
153153
.withPayloadSupportEnabled(s3Client, bucketName);

powertools-e2e-tests/src/test/java/software/amazon/lambda/powertools/LargeMessageIdempotentE2ET.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,6 @@ static void tearDown() {
110110
@Test
111111
void test_ttlNotExpired_doesNotInsertInDDB_ttlExpired_insertInDDB() throws InterruptedException,
112112
IOException {
113-
int waitMs = 15000;
114-
115113
// GIVEN
116114
InputStream inputStream = this.getClass().getResourceAsStream("/large_sqs_message.txt");
117115
String bigMessage = IOUtils.toString(inputStream, StandardCharsets.UTF_8);

0 commit comments

Comments
 (0)