amplify-swift
amplify-swift copied to clipboard
DataStore V2 Integration Test Stability
Verification when a new PR is created
Integration Tests to verify
- DataStoreIntegrationTests
- DataStoreV2Tests
- DataStoreMultiAuthTests
- DataStoreCPKTests
- DataStoreAuthCognitoTests
- DataStoreAuthIAMTests
Existing Failing Tests
Running through the unit / integration tests and these are the following that need to be fixed:
- OutgoingMutationQueueNetworkTests/testLastMutationSentWhenNoNetwork() - has been hitting us a couple of times now
- ~~DataStoreConnectionScenario6Tests.testDeleteAll() failing in both V1 and V2~~ #2357
- DataStoreConsecutiveUpdatesTests.testSaveThenMultipleUpdate hanging
- ~~AWSDataStoreCategoryPluginAuthOwnerIntegrationTests.testExplicitCustomOwner~~ https://github.com/aws-amplify/amplify-ios/pull/2275
- ~~AWSDataStoreCategoryPluginAuthOwnerIntegrationTests.testExplicitOwner~~ https://github.com/aws-amplify/amplify-ios/pull/2275
- AWSDataStoreCategoryPluginAuthIntegrationTests.testUnauthenticatedSavesToLocalStoreIsReconciledWithCloudStoreAfterAuthentication
Need to test
DataStoreAuthIAMTests Flutter Tests
Automated testing in CI
One per target running in Github Actions
- DataStoreIntegrationTests
- DataStoreV2Tests
- DataStoreMultiAuthTests
- DataStoreCPKTests
- DataStoreAuthCognitoTests
- DataStoreAuthIAMTests
Additional Coverage
- DataStoreCPKTests to include ones from CPK testing (https://github.com/lawmicha/primaryKeyInteg)
- DataStoreMultiAuthTests to include testing done in https://github.com/aws-amplify/amplify-ios/pull/2338 PR
Originally posted by @lawmicha in https://github.com/aws-amplify/amplify-ios/issues/2338#issuecomment-1255295327
This issue was opened by a maintainer of this repository; updates will be posted here. If you are also experiencing this issue, please comment here with any relevant information so that we're aware and can prioritize accordingly.
triaged internally