components-contrib/tests/certification/state/gcp/firestore
Bernd Verst 9095b0e7e7
Switch to Go 1.21, Updates linter, updates workflows, adds sarama 1.42.1 (#3251)
Signed-off-by: Bernd Verst <github@bernd.dev>
2023-11-28 18:13:09 -08:00
..
components GCP Firestore - Certification Tests (#2754) 2023-04-26 22:12:56 +00:00
README.md GCP Firestore - Certification Tests (#2754) 2023-04-26 22:12:56 +00:00
config.yaml GCP Firestore - Certification Tests (#2754) 2023-04-26 22:12:56 +00:00
gcp_firestore_test.go Switch to Go 1.21, Updates linter, updates workflows, adds sarama 1.42.1 (#3251) 2023-11-28 18:13:09 -08:00

README.md

GCP Firestore certification testing

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

Test plan

Basic Test

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

Test entity_kind

  1. Able to create and test connection.
  2. Able to specify Entity Kind to set, fetch and delete.

Test NoIndex

  1. Able to create and test connection.
  2. Able to specify Entity Kind with NoIndex to set, fetch and delete.

Run Tests

Note: Currently, GCP Firestore in Datastore mode, does not provide a public GCP API.For setup, follow the instructions in the GCP Firestore Documentation.

To run these tests, the environment variables GCP_PROJECT_ID and GCP_FIRESTORE_ENTITY_KIND