Commit Graph

44 Commits

Author SHA1 Message Date
Muhammed Efe Cetin
ba32290665 fix tests 2025-04-23 00:26:43 +03:00
Manuel de la Peña
d1893c2e4a chore: use testcontainers properly in mysql 2025-04-22 23:54:00 +03:00
Muhammed Efe Cetin
3242f93c9f mysql: add support for context management 2025-04-22 23:46:52 +03:00
Manuel de la Peña
698ae8a390 fix: do not create two mysql containers 2025-04-15 20:16:04 +02:00
Manuel de la Peña
0e4dfc0d07 chore(mysql): use require in tests 2025-04-15 16:26:36 +02:00
Manuel de la Peña
e91a22a066 chore: add suggestions from coderabbit 2025-02-19 16:29:28 +01:00
Manuel de la Peña
fe98837e83 fix: forgot to close mysql store in test 2025-02-18 18:22:21 +01:00
Manuel de la Peña
0c2d884898 chore: implement more robust wait strategies in testcontainers services 2025-02-18 17:58:47 +01:00
Manuel de la Peña
cac4fd5e8d chore: use cleanup function 2024-12-12 12:12:56 +01:00
Manuel de la Peña
a4849c83f7 Revert "fix: terminate second mysql container"
This reverts commit 3cd89dbcf7.
2024-09-20 01:10:07 +02:00
Manuel de la Peña
3cd89dbcf7 fix: terminate second mysql container 2024-09-20 00:38:10 +02:00
Manuel de la Peña
43a47ef467 fix: do not close twice in mysql test 2024-09-20 00:33:23 +02:00
Manuel de la Peña
efbc89fea6 fix: do not close store twice in tests 2024-09-20 00:06:39 +02:00
Manuel de la Peña
7bbad9a837 fix: swap values in mysql constants 2024-09-19 23:55:26 +02:00
Manuel de la Peña
f962d64885 chore: terminate container on end
This is not relevant for this PR, as Ryuk is responsible for terminating containers after the test session finishes
2024-09-18 22:20:42 +02:00
Manuel de la Peña
1bb4d922e9 chore: close store 2024-09-18 16:59:58 +02:00
Manuel de la Peña
2f174934c2 chore: use testcontainers-go in mysql store 2024-08-29 11:56:33 +02:00
Muhammed Efe Cetin
db1dd2bf6a update delete benchmarks 2023-09-15 18:23:02 +03:00
Muhammed Efe Cetin
36dd674d93 add TestMain for a few storages and update benchmark workflow 2023-09-15 16:54:25 +03:00
Muhammed Efe Cetin
68d59280d8 add benchmarks for all storages 2023-09-15 00:02:13 +03: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
DGivney
1137fb9036 Improve MYSQL New method test cases 2022-10-10 20:33:09 +11:00
DGivney
a9dc413939 Close the connections after testing MYSQL Store 2022-10-10 18:15:49 +11:00
DGivney
825eb938c2 Add test case for MYSQL New method 2022-10-10 17:57:16 +11: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
hi019
6a0f72c350 🐛 Fix bug preventing non-utf8 characters being saved in some databases (#87) 2021-05-05 21:17:52 -04:00
hi019
a66230ef17 Fix GC deleting values without expiry (#54)
* Test MYSQL Fix

* Test

* Add postgres

* Fix mysql

* Fix sqlite
2021-03-18 22:09:06 +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
kiyon
25ec0e291e 🚤 Improve sql storage 2020-11-06 09:56:34 +08: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
kiyon
34441f5b7c 👷 Separate database test into different tags and enable default test CI. 2020-11-03 08:59:29 +08:00
hi019
bd31e32cb8 Standardize test case names 2020-11-02 15:52:14 -05:00
Tom
4d39ae8073 📦 MySQL: go fmt 2020-11-01 15:51:04 +00:00
Tom
d27bcb730b 📦 MySQL: Add tests and benchmarks 2020-11-01 15:46:19 +00:00
Fenny
ad49a4d6a6 👷‍♂️ add skeletons 2020-10-31 06:20:25 +01:00