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

OZG-5322 [test] adjust timeout

parent dd764659
No related branches found
No related tags found
No related merge requests found
...@@ -150,7 +150,7 @@ class PostfachMailITCase { ...@@ -150,7 +150,7 @@ class PostfachMailITCase {
assertThat(mails.get(0).getCreatedAt()).isNotNull(); assertThat(mails.get(0).getCreatedAt()).isNotNull();
assertThat(mails.get(0).getDirection()).isEqualTo(GrpcDirection.OUT); assertThat(mails.get(0).getDirection()).isEqualTo(GrpcDirection.OUT);
assertThat(mails.get(0).getSentAt()).isNotNull(); assertThat(mails.get(0).getSentAt()).isNotNull();
assertThat(ZonedDateTime.parse(mails.get(0).getSentAt())).isCloseTo(ZonedDateTime.now(), within(15, ChronoUnit.SECONDS)); assertThat(ZonedDateTime.parse(mails.get(0).getSentAt())).isCloseTo(ZonedDateTime.now(), within(61, ChronoUnit.SECONDS));
assertThat(mails.get(0).getSentSuccessful()).isTrue(); assertThat(mails.get(0).getSentSuccessful()).isTrue();
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment