Skip to content

Commit 7a44152

Browse files
Add test that never passes
1 parent 01c3f97 commit 7a44152

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/test/java/software/amazon/encryption/s3/S3EncryptionClientBuilderValidationTest.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,4 +282,11 @@ public void testBuilderWithNullKmsKeyId() {
282282
);
283283
assertTrue(exception.getMessage().contains("Only one may be set of"));
284284
}
285+
286+
// TODO: REMOVE THIS TEST - Demo test to verify retry behavior
287+
@RetryingTest(3)
288+
public void testRetryDemoAlwaysFails() {
289+
System.out.println("Retry attempt made - this test always fails");
290+
throw new RuntimeException("Demo test to show retry behavior - REMOVE THIS TEST");
291+
}
285292
}

0 commit comments

Comments
 (0)