Skip to content

Commit a9f4bd1

Browse files
Flaky validateUnexpiredNonce test fix after rebase from main
Signed-off-by: Sander Kondratjev <sander.kondratjev@nortal.com>
1 parent 05acaaf commit a9f4bd1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/eu/webeid/security/challenge/ChallengeNonceGeneratorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ void validateNonceGeneration() throws AuthTokenException {
6262
void validateUnexpiredNonce() throws InterruptedException {
6363
final ChallengeNonceGenerator challengeNonceGenerator = new ChallengeNonceGeneratorBuilder()
6464
.withChallengeNonceStore(challengeNonceStore)
65-
.withNonceTtl(Duration.ofMillis(20))
65+
.withNonceTtl(Duration.ofSeconds(1))
6666
.build();
6767

6868
challengeNonceGenerator.generateAndStoreNonce();

0 commit comments

Comments
 (0)