Commit Graph

66 Commits

Author SHA1 Message Date
Manuel de la Peña
52dda9d9f8 fix: close store in test 2025-04-29 00:19:18 +02:00
Manuel de la Peña
9113e442dc docs: document new options 2025-04-28 11:42:17 +02:00
Manuel de la Peña
0d583fa0e8 chore: apply coderabbit suggestion 2025-04-28 10:58:18 +02:00
Manuel de la Peña
aece23fe66 chore: remove wait strategy, it's handled by the module 2025-04-28 10:40:13 +02:00
Manuel de la Peña
5a5580e0a1 chore: update new test 2025-04-28 10:34:45 +02:00
Manuel de la Peña
7af98b421e fix: trim both schemes 2025-04-28 10:16:58 +02:00
Manuel de la Peña
7f8afd2235 fix: use test helper 2025-04-28 10:14:48 +02:00
Manuel de la Peña
6c01ddadb5 fix: wrong evaluation of MLTS flag 2025-04-28 10:13:20 +02:00
Manuel de la Peña
c544464e93 chore: bump testcontainers to v0.37.0 2025-04-28 08:09:40 +02:00
Manuel de la Peña
1420ef2be3 Merge branch 'main' into tc-go-redis
* main: (48 commits)
  chore(deps): bump github.com/microsoft/go-mssqldb in /mssql
  chore(deps): bump github.com/testcontainers/testcontainers-go
  Add missing Go versions
  Remove new benchmarks, they are not needed.
  Update redis/README.md
  Add missing condition
  Add missing condition for Valkey during Benchmarks
  Update dependencies, add script for updating in the future
  Add unit tests for Redis connection
  Add example for using existing Redis connection
  Added TLS/SSL options in Readme
  Added TLS/SSL options
  chore(deps): bump github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue
  chore(deps): bump github.com/aws/aws-sdk-go-v2/service/dynamodb
  chore(deps): bump github.com/mdelapenya/tlscert in /nats
  chore(deps): bump github.com/minio/minio-go/v7 in /minio
  chore(deps): bump github.com/Azure/azure-sdk-for-go/sdk/storage/azblob
  chore(deps): bump github.com/aws/aws-sdk-go-v2/feature/s3/manager in /s3
  chore(deps): bump github.com/stretchr/testify in /mssql
  chore: apply suggestions from code review
  ...
2025-04-28 08:03:55 +02:00
Juan Calderon-Perez
cd0b0a8377 Remove new benchmarks, they are not needed. 2025-04-26 12:19:21 -04:00
Sepehr Mohaghegh
0cf84b3048 Add unit tests for Redis connection
Implemented tests to verify Redis key management functions including set, get, and delete operations. Ensuring data integrity and operation correctness in Redis storage.
2025-04-26 16:55:58 +03:30
Sepehr Mohaghegh
9e4c7d82da Add NewFromConnection method and benchmarks
Introduced NewFromConnection to create Storage using an existing Redis client, enhancing flexibility. Added benchmarks to test Redis operations with this method.
2025-04-18 22:03:02 +03:30
Manuel de la Peña
5687318557 Revert "chore: change file permissions"
This reverts commit 06e9b1f578.
2025-04-17 00:10:17 +02:00
Manuel de la Peña
0e05d2d54e fix: typo in tests name 2025-04-16 20:47:28 +02:00
Manuel de la Peña
320a250502 fix: typo 2025-04-16 20:46:50 +02:00
Manuel de la Peña
2231b313bd chore: rename variable 2025-04-16 20:46:38 +02:00
Manuel de la Peña
06e9b1f578 chore: change file permissions 2025-04-16 20:46:08 +02:00
Manuel de la Peña
faa652f38c chore: use redis with TLS 2025-04-16 20:30:26 +02:00
Manuel de la Peña
05516094e9 feat(redis): use testcontainers-go for testing redis 2025-04-16 15:06:19 +02:00
Juan Calderon-Perez
50bea20332 Update empty check, value should be Nil 2023-10-29 21:04:03 -04:00
Juan Calderon-Perez
0b9f4aebc8 Create a testStore per test 2023-10-29 20:24:11 -04:00
Juan Calderon-Perez
3b5d81397c Add support for Keys() to Redis Driver 2023-10-29 20:01:23 -04:00
Muhammed Efe Cetin
db1dd2bf6a update delete benchmarks 2023-09-15 18:23:02 +03:00
Muhammed Efe Cetin
68d59280d8 add benchmarks for all storages 2023-09-15 00:02:13 +03:00
Juan Calderon-Perez
78cfcf3206 Add instance of Redis without MTLS to workflow 2023-09-09 22:44:46 -04:00
Juan Calderon-Perez
e41f3e4131 Test against secure rediss URL 2023-09-09 22:33:25 -04:00
Juan Calderon-Perez
f5c4a78fb1 Add support for using Custom CA, add test that forces SSL verification 2023-09-09 21:53:57 -04:00
Juan Calderon-Perez
7e2c6a3e62 Update tests to use new SSL script 2023-09-09 21:44:24 -04:00
Juan Calderon-Perez
c0cc07ca93 Update README files, use require.NoError 2023-08-20 09:22:43 -04:00
Juan Calderon-Perez
02d809987a Use testify.Require for all Storage Drivers 2023-08-19 22:36:33 -04:00
Juan Calderon-Perez
6014de4ee7 Add support for testing Redis Cluster 2023-04-10 19:49:47 -04:00
Juan Calderon-Perez
78849085f0 Update README and examples 2023-04-09 21:24:25 -07:00
Juan Calderon-Perez
e3320c4084 Expand unit-test to cover all config cases in New() 2023-04-09 21:16:07 -07:00
Juan Calderon-Perez
22e48de898 Add support for Redis Universal Client 2023-04-09 21:04:52 -07:00
Juan Calderon-Perez
6a614f832e Support for Redis Sentinel Client 2023-04-08 18:33:55 -07:00
Juan Calderon-Perez
3a8b8d4f71 Add Conn() support to all storage drivers. (#451)
* Add DB() support for Redis driver

* Added support for DB() to all drivers

* Fixed typo in README and Lint issue

* Fix lint issue with ristretto db

* Fix lint issue with bbolt db

* Rename DB() to Conn()

* Replace all instances of _DB with _Conn

* Update all the README files

* Return ArangoDB Client instead of DB
2022-08-15 07:58:13 +02:00
Jason McNeil
842a366c10 enhancement(redis): add TLSConfig (#261)
* TLSConfig

* Update README.md

* add tls tests and certs

* Update test-redis.yml

* Update test-redis.yml

* Update test-redis.yml

* Update test-redis.yml

* Update test-redis.yml

correct tls port

* Update test-redis.yml

path

* Update test-redis.yml
2022-01-09 22:48:57 +01:00
RW
79bb924d44 URL parsing for redis (#64)
* URL parsing for redis

Co-authored-by: TroyDota <49777269+TroyDota@users.noreply.github.com>
2021-03-25 08:14:30 +01:00
Fenny
ab94351a60 ✏ return nil for notfound 2020-11-23 09:30:50 +01:00
Fenny
ddef41c2ee ✏ update comments 2020-11-17 13:56:09 +01:00
Fenny
cdf009407b 🩹 update tests 2020-11-06 16:05:53 +01:00
Fenny
f9a30234b9 🧹 introduce reset and close 2020-11-06 01:41:46 +01:00
Fenny
f965c69512 🧪 update tests 2020-11-05 09:37:33 +01:00
Fenny
2458ab7395 help 2020-11-05 05:58:52 +01:00
Fenny
79f1f1609e update tests 2020-11-05 05:57:14 +01:00
Fenny
f047848660 🎁 fix tests 2020-11-05 05:26:05 +01:00
Fenny
b4a848ca29 🎄 xmas present 2020-11-05 04:17:05 +01:00
Fenny
a6058cffb3 ✏ refactor storage 2020-11-04 20:49:53 +01:00
Fenny
b29989b82e 📦 update redit test 2020-11-04 19:34:12 +01:00