Skip to content

Commit

Permalink
test: ignore additional mqtt 5 error
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeDombo committed Feb 9, 2023
1 parent 9fd018a commit c229ce6
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c229ce6

Please sign in to comment.