From 89700fd16e61692106b9ac83f206cf9da6678986 Mon Sep 17 00:00:00 2001 From: Ian Saultz <52051793+atierian@users.noreply.github.com> Date: Mon, 9 Oct 2023 11:48:33 -0400 Subject: [PATCH] use fulfillment and increase timeout in multiple signup auth integration test --- .../AuthIntegrationTests/SignUpTests/AuthSignUpTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AmplifyPlugins/Auth/Tests/AuthHostApp/AuthIntegrationTests/SignUpTests/AuthSignUpTests.swift b/AmplifyPlugins/Auth/Tests/AuthHostApp/AuthIntegrationTests/SignUpTests/AuthSignUpTests.swift index e637b596c9..7bbfce132d 100644 --- a/AmplifyPlugins/Auth/Tests/AuthHostApp/AuthIntegrationTests/SignUpTests/AuthSignUpTests.swift +++ b/AmplifyPlugins/Auth/Tests/AuthHostApp/AuthIntegrationTests/SignUpTests/AuthSignUpTests.swift @@ -54,7 +54,7 @@ class AuthSignUpTests: AWSAuthBaseTest { signUpExpectation.fulfill() } } - await waitForExpectations(timeout: 2) + await fulfillment(of: signUpExpectation, timeout: 5, enforceOrder: false) } // /// Test if user registration is successful.