components-contrib/tests/certification/state/mongodb
Alessandro (Ale) Segala 4f94da95cf
Refactor state store bulk operations (#2747)
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2023-04-07 19:19:47 +00:00
..
components/docker Add `connectionString` metadata option for MongoDB (#2659) 2023-03-14 16:40:17 +00:00
README.md
config.yaml
docker-compose-cluster.yml
docker-compose-single.yml
mongo_setup.sh
mongodb_test.go Refactor state store bulk operations (#2747) 2023-04-07 19:19:47 +00: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