components-contrib/tests/certification/state/mongodb
Yash Nisar 8e4dade7ed Add certification tests for MongoDB state store
Closes https://github.com/dapr/components-contrib/issues/1938

Signed-off-by: Yash Nisar <yashnisar@microsoft.com>
2022-09-07 18:45:50 -05:00
..
components/docker Add certification tests for MongoDB state store 2022-09-07 18:45:50 -05:00
README.md Add certification tests for MongoDB state store 2022-09-07 18:45:50 -05:00
config.yaml Add certification tests for MongoDB state store 2022-09-07 18:45:50 -05:00
docker-compose-cluster.yml Add certification tests for MongoDB state store 2022-09-07 18:45:50 -05:00
docker-compose-single.yml Add certification tests for MongoDB state store 2022-09-07 18:45:50 -05:00
go.mod Add certification tests for MongoDB state store 2022-09-07 18:45:50 -05:00
go.sum Add certification tests for MongoDB state store 2022-09-07 18:45:50 -05:00
mongo_setup.sh Add certification tests for MongoDB state store 2022-09-07 18:45:50 -05:00
mongodb_test.go Add certification tests for MongoDB state store 2022-09-07 18:45:50 -05:00

README.md

MongoDB State Store certification testing

This project aims to test the MongoDB State Store component under various conditions.

Test plan

Basic Test for CRUD operations:

  1. Able to create and test connection.
  2. Able to do set, fetch, update and delete.
  3. Negative test to fetch record with key, that is not present.

Component must reconnect when server or network errors are encountered

Infra test:

  1. When MongoDB goes down and then comes back up - client is able to connect