From 13d31f0287a88888ff077ef565d4a1ec5ef9b1a9 Mon Sep 17 00:00:00 2001 From: Kieran Wardle <23309814+KieranWardle@users.noreply.github.com> Date: Fri, 29 Sep 2023 10:46:55 +0100 Subject: [PATCH] Bump test failure timeout (#26) --- .../gov/ons/ssdc/rhservice/service/EqPayloadBuilderTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/uk/gov/ons/ssdc/rhservice/service/EqPayloadBuilderTest.java b/src/test/java/uk/gov/ons/ssdc/rhservice/service/EqPayloadBuilderTest.java index 4da3926..9bbf19a 100644 --- a/src/test/java/uk/gov/ons/ssdc/rhservice/service/EqPayloadBuilderTest.java +++ b/src/test/java/uk/gov/ons/ssdc/rhservice/service/EqPayloadBuilderTest.java @@ -49,9 +49,9 @@ void testBuildEqPayloadWithoutUACLaunchData() { collectionExerciseUpdateDTO); assertThat(secondsStringToDateTime((long) eqPayload.get("exp"))) - .isCloseTo(OffsetDateTime.now().plusMinutes(5), within(5, ChronoUnit.SECONDS)); + .isCloseTo(OffsetDateTime.now().plusMinutes(5), within(10, ChronoUnit.SECONDS)); assertThat(secondsStringToDateTime((long) eqPayload.get("iat"))) - .isCloseTo(OffsetDateTime.now(), within(5, ChronoUnit.SECONDS)); + .isCloseTo(OffsetDateTime.now(), within(10, ChronoUnit.SECONDS)); assertThat(UUID.fromString(eqPayload.get("jti").toString())).isNotNull(); assertThat(UUID.fromString(eqPayload.get("tx_id").toString())).isNotNull();