From c229ce6bb2cddfb35af897561b4ce9e9c485a7a7 Mon Sep 17 00:00:00 2001 From: Michael Dombrowski Date: Thu, 9 Feb 2023 07:29:14 -0500 Subject: [PATCH] test: ignore additional mqtt 5 error --- .../aws/greengrass/integrationtests/e2e/BaseE2ETestCase.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/integrationtests/java/com/aws/greengrass/integrationtests/e2e/BaseE2ETestCase.java b/src/integrationtests/java/com/aws/greengrass/integrationtests/e2e/BaseE2ETestCase.java index 75c4917437..a36feb3c0f 100644 --- a/src/integrationtests/java/com/aws/greengrass/integrationtests/e2e/BaseE2ETestCase.java +++ b/src/integrationtests/java/com/aws/greengrass/integrationtests/e2e/BaseE2ETestCase.java @@ -91,6 +91,7 @@ import static com.aws.greengrass.componentmanager.KernelConfigResolver.CONFIGURATION_CONFIG_KEY; import static com.aws.greengrass.lifecyclemanager.GreengrassService.SERVICES_NAMESPACE_TOPIC; import static com.aws.greengrass.testcommons.testutilities.ExceptionLogProtector.ignoreExceptionUltimateCauseWithMessageSubstring; +import static com.aws.greengrass.testcommons.testutilities.ExceptionLogProtector.ignoreExceptionWithMessageSubstring; import static org.junit.jupiter.api.Assertions.assertEquals; import static software.amazon.awssdk.services.greengrassv2.model.DeploymentComponentUpdatePolicyAction.NOTIFY_COMPONENTS; import static software.amazon.awssdk.services.greengrassv2.model.DeploymentFailureHandlingPolicy.DO_NOTHING; @@ -193,6 +194,10 @@ void beforeEach(ExtensionContext context) { "Old requests from the previous session are cancelled"); ignoreExceptionUltimateCauseWithMessageSubstring(context, "client connection interrupted by user request"); + ignoreExceptionUltimateCauseWithMessageSubstring(context, + "AWS_ERROR_MQTT5_OPERATION_FAILED_DUE_TO_OFFLINE_QUEUE_POLICY"); + ignoreExceptionWithMessageSubstring(context, + "AWS_ERROR_MQTT5_OPERATION_FAILED_DUE_TO_OFFLINE_QUEUE_POLICY"); } @BeforeAll