amplify-swift icon indicating copy to clipboard operation
amplify-swift copied to clipboard

DataStore V2 Integration Test Stability

Open lawmicha opened this issue 3 years ago • 1 comments

Verification when a new PR is created

Integration Tests to verify

  1. DataStoreIntegrationTests
  2. DataStoreV2Tests
  3. DataStoreMultiAuthTests
  4. DataStoreCPKTests
  5. DataStoreAuthCognitoTests
  6. 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

  1. DataStoreIntegrationTests
  2. DataStoreV2Tests
  3. DataStoreMultiAuthTests
  4. DataStoreCPKTests
  5. DataStoreAuthCognitoTests
  6. 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

lawmicha avatar Sep 22 '22 17:09 lawmicha

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.

github-actions[bot] avatar Sep 22 '22 17:09 github-actions[bot]

triaged internally

lawmicha avatar Jul 24 '23 20:07 lawmicha