Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CosmosDB state store as Stable #1138

Closed
artursouza opened this issue Sep 13, 2021 · 2 comments · Fixed by #1972
Closed

CosmosDB state store as Stable #1138

artursouza opened this issue Sep 13, 2021 · 2 comments · Fixed by #1972

Comments

@artursouza
Copy link
Member

After completing #1137, write an integration test for CosmosDB.

Test scenarios:

** Handle connection drop of 1 minute, a.k.a. "reconnect" - offer "pull the plug" mode in the test framework.
*** Test should perform a write operation with retry over 2 minutes and succeed, following with a GET proving the data was written. Write operation must last at least 1 minute to show that the outage was correctly injected.

** Validate multiple authentication mechanisms

** Write different data types and validate how data is persisted in the database
*** String
*** Integer
*** Float
*** Boolean
*** Byte array

** Validate data can be queried by "native" database client

Parent: #939

@artursouza artursouza added this to the v1.5 milestone Sep 13, 2021
@artursouza artursouza modified the milestones: v1.5, v1.6 Oct 26, 2021
@berndverst berndverst modified the milestones: v1.6, v1.7 Dec 9, 2021
@artursouza artursouza removed this from the v1.7 milestone Feb 1, 2022
@artursouza artursouza changed the title Create integration test for CosmosDB state store Create certification test for CosmosDB state store Feb 1, 2022
@artursouza artursouza added this to the v1.8 milestone Apr 27, 2022
@berndverst berndverst modified the milestones: v1.8, v1.9 Jun 21, 2022
@shivamkm07
Copy link
Contributor

shivamkm07 commented Jul 27, 2022

Azure Cosmos DB certification testing

This project aims to test the Azure Cosmos DB State Store component under various conditions.

Test plan

Basic Test using master key authentication

  1. Able to create and test connection.
  2. Able to do set, fetch and delete.

Test Partition Keys

Ensure the following scenarios:

  1. In case of invalid partition key, the access fails
  2. In case of missing partition key, key property is used in place of it
  3. In case of correct partition key, the access succeeds

Authentication using Azure AD

  1. Save Data and retrieve data using AAD credentials

@DeepanshuA
Copy link
Contributor

Should we also add a use-case for checking one of "Best Practices for Production Use":

  • Let's say, initially, there is a network issue and connection could not be established; but as initTimeout is configured for, say 2 minutes or so, it retries for Connection and as network issue is resolved now, so Connection is successful while re-attempting.

@greenie-msft greenie-msft changed the title Create certification test for CosmosDB state store CosmosDB state store as Stable Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.

5 participants