diff --git a/.github/workflows/integ_test_storage.yml b/.github/workflows/integ_test_storage.yml index 04dffff561..ba971a0b05 100644 --- a/.github/workflows/integ_test_storage.yml +++ b/.github/workflows/integ_test_storage.yml @@ -9,7 +9,7 @@ permissions: jobs: storage-integration-test-iOS: - runs-on: macos-12 + runs-on: macos-13 environment: IntegrationTest steps: - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b @@ -32,6 +32,8 @@ jobs: with: project_path: ./AmplifyPlugins/Storage/Tests/StorageHostApp/ scheme: AWSS3StoragePluginIntegrationTests + destination: 'platform=iOS Simulator,name=iPhone 14,OS=latest' + xcode_path: '/Applications/Xcode_14.3.app' storage-integration-test-tvOS: runs-on: macos-13 diff --git a/AmplifyPlugins/API/Tests/AWSAPIPluginTests/Operation/GraphQLMutateCombineTests.swift b/AmplifyPlugins/API/Tests/AWSAPIPluginTests/Operation/GraphQLMutateCombineTests.swift index e59bf6dbf4..e5fbdffc79 100644 --- a/AmplifyPlugins/API/Tests/AWSAPIPluginTests/Operation/GraphQLMutateCombineTests.swift +++ b/AmplifyPlugins/API/Tests/AWSAPIPluginTests/Operation/GraphQLMutateCombineTests.swift @@ -118,7 +118,7 @@ class GraphQLMutateCombineTests: OperationTestBase { } }) - waitForExpectations(timeout: 0.05) + waitForExpectations(timeout: 1.0) sink.cancel() } } diff --git a/AmplifyPlugins/Predictions/Tests/PredictionsHostApp/PredictionsHostApp.xcodeproj/xcshareddata/xcschemes/AWSPredictionsPluginIntegrationTests.xcscheme b/AmplifyPlugins/Predictions/Tests/PredictionsHostApp/PredictionsHostApp.xcodeproj/xcshareddata/xcschemes/AWSPredictionsPluginIntegrationTests.xcscheme index c7f0fb536f..0f3801895c 100644 --- a/AmplifyPlugins/Predictions/Tests/PredictionsHostApp/PredictionsHostApp.xcodeproj/xcshareddata/xcschemes/AWSPredictionsPluginIntegrationTests.xcscheme +++ b/AmplifyPlugins/Predictions/Tests/PredictionsHostApp/PredictionsHostApp.xcodeproj/xcshareddata/xcschemes/AWSPredictionsPluginIntegrationTests.xcscheme @@ -13,8 +13,7 @@ shouldUseLaunchSchemeArgsEnv = "YES"> + skipped = "NO"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/AmplifyPlugins/Storage/Tests/StorageHostApp/AWSS3StoragePluginIntegrationTests/AWSS3StoragePluginOptionsUsabilityTests.swift b/AmplifyPlugins/Storage/Tests/StorageHostApp/AWSS3StoragePluginIntegrationTests/AWSS3StoragePluginOptionsUsabilityTests.swift index f9178e8776..34fc3e954e 100644 --- a/AmplifyPlugins/Storage/Tests/StorageHostApp/AWSS3StoragePluginIntegrationTests/AWSS3StoragePluginOptionsUsabilityTests.swift +++ b/AmplifyPlugins/Storage/Tests/StorageHostApp/AWSS3StoragePluginIntegrationTests/AWSS3StoragePluginOptionsUsabilityTests.swift @@ -89,10 +89,10 @@ class AWSS3StoragePluginOptionsUsabilityTests: AWSS3StoragePluginTestBase { return } - XCTAssertEqual(response.statusCode, 403) + XCTAssertTrue((400..<500).contains(response.statusCode)) } task2.resume() - await waitForExpectations(timeout: TestCommonConstants.networkTimeout) + await fulfillment(of: [urlExpired], timeout: TestCommonConstants.networkTimeout) // Remove the key await remove(key: key)