Skip to content
Snippets Groups Projects
Commit 7c9a98b7 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-5322 [test] adjust timeout

parent b30fa5ce
No related branches found
No related tags found
No related merge requests found
......@@ -175,7 +175,7 @@ class PostfachMailITCase {
await().atMost(60, TimeUnit.SECONDS).untilAsserted(() -> {
assertThat(callGrpcListEndpoint()).hasSize(1).first().satisfies(mail -> {
assertThat(mail.getSentAt()).isNotNull();
assertThat(ZonedDateTime.parse(mail.getSentAt())).isCloseTo(ZonedDateTime.now(), within(2, ChronoUnit.SECONDS));
assertThat(ZonedDateTime.parse(mail.getSentAt())).isCloseTo(ZonedDateTime.now(), within(61, ChronoUnit.SECONDS));
assertThat(mail.getSentSuccessful()).isFalse();
});
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment