components-contrib/tests/certification/state/mongodb
1046102779 0b0a7298f6 feature: add context to state API
Signed-off-by: 1046102779 <seachen@tencent.com>
2022-12-08 16:24:53 +08: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 feature: add context to state API 2022-12-08 16:24:53 +08:00
go.sum feature: add context to state API 2022-12-08 16:24:53 +08: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