components-contrib/tests/certification/bindings/redis
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 Support Increment Operation, TTL in Redis Binding (#2654) 2023-03-09 21:23:04 +00:00
README.md Add certification tests for Cron Binding (#2191) 2022-12-02 02:30:01 -08:00
config.yaml Add Redis binding certification tests 2022-09-14 19:06:25 -05:00
docker-compose.yml Support Increment Operation, TTL in Redis Binding (#2654) 2023-03-09 21:23:04 +00:00
redis_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

Redis Binding Certification

The purpose of this module is to provide tests that certify the Redis Binding as a stable component.

Test plan

  • Verify that data is getting stored in Redis.
    • Create the component spec.
    • Run dapr application to store data in Redis component as output binding.
    • Ensure that connection to redis is established.
    • Read stored data from Redis and verify that the data inserted is present.
  • Verify that data is successfully retrieved during a network interruption.
    • Create the component spec.
    • Run dapr application to store data in Redis component as output binding.
    • Insert data in the Redis component as output binding before network interruption.
    • Check if the data is accessible after the network is up again.
    • Restart the Redis server.
    • Check if the data is accessible after the server is up again.
  • Verify that the client is able to successfully retry during connection issues.
    • Create the component spec.
    • Run dapr application to store data in Redis component as output binding.
    • Restart the Redis server.
    • Insert data into the Redis store as output binding during the server restart.
    • Check if the data is accessible after the server is up again.