From 3e10e2afb76d8746ed8f9c602eff9b378a940bdd Mon Sep 17 00:00:00 2001 From: Joshua Gray Date: Wed, 6 Nov 2024 11:56:14 +0000 Subject: [PATCH] Add 10 seconds to delay to allow respons from simulateCcdCallback --- .../sya/notifications/NotificationsFunctionalTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/functionalTest/java/uk/gov/hmcts/reform/sscs/functional/tyanotifications/sya/notifications/NotificationsFunctionalTest.java b/src/functionalTest/java/uk/gov/hmcts/reform/sscs/functional/tyanotifications/sya/notifications/NotificationsFunctionalTest.java index a839f31e528..55f5f7d15fc 100644 --- a/src/functionalTest/java/uk/gov/hmcts/reform/sscs/functional/tyanotifications/sya/notifications/NotificationsFunctionalTest.java +++ b/src/functionalTest/java/uk/gov/hmcts/reform/sscs/functional/tyanotifications/sya/notifications/NotificationsFunctionalTest.java @@ -459,7 +459,7 @@ public void shouldSendAppointeeHearingPostponedNotification() throws Notificatio public void shouldSaveReasonableAdjustmentNotificationForAppellant() throws IOException { simulateCcdCallback(APPEAL_RECEIVED, BASE_PATH_TYAN + APPEAL_RECEIVED.getId() + "AppellantReasonableAdjustmentCallback.json"); - delayInSeconds(10); + delayInSeconds(20); SscsCaseDetails caseDetails = findCaseById(caseId); SscsCaseData caseData = caseDetails.getData(); @@ -473,7 +473,7 @@ public void shouldSaveReasonableAdjustmentNotificationForAppellant() throws IOEx public void shouldSaveReasonableAdjustmentNotificationForAppellantAndRep() throws IOException { simulateCcdCallback(APPEAL_RECEIVED, BASE_PATH_TYAN + APPEAL_RECEIVED.getId() + "AppellantRepReasonableAdjustmentCallback.json"); - delayInSeconds(10); + delayInSeconds(20); SscsCaseDetails caseDetails = findCaseById(caseId); SscsCaseData caseData = caseDetails.getData();