From f52f08c05f823310443a3327fdc5a6b82c3b5a14 Mon Sep 17 00:00:00 2001 From: Ian Saultz <52051793+atierian@users.noreply.github.com> Date: Thu, 12 Oct 2023 17:19:01 -0400 Subject: [PATCH] fix(analytics): remove extra awaits on fulfills --- .../AnalyticsStressTests/AnalyticsStressTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AmplifyPlugins/Analytics/Tests/AnalyticsHostApp/AnalyticsStressTests/AnalyticsStressTests.swift b/AmplifyPlugins/Analytics/Tests/AnalyticsHostApp/AnalyticsStressTests/AnalyticsStressTests.swift index d7ca6ce5c4..308dcfd1fb 100644 --- a/AmplifyPlugins/Analytics/Tests/AnalyticsHostApp/AnalyticsStressTests/AnalyticsStressTests.swift +++ b/AmplifyPlugins/Analytics/Tests/AnalyticsHostApp/AnalyticsStressTests/AnalyticsStressTests.swift @@ -109,7 +109,7 @@ final class AnalyticsStressTests: XCTestCase { "eventPropertyBoolKey5": true] as [String: AnalyticsPropertyValue] let event = BasicAnalyticsEvent(name: "eventName" + String(eventNumber), properties: properties) Amplify.Analytics.record(event: event) - await recordExpectation.fulfill() + recordExpectation.fulfill() } }