Kostas Kyrimis
5956275818
chore: replace session wide fixtures with scope ( #3251 )
...
* chore: replace session wide fixtures with scope
2024-07-02 10:26:26 +03:00
Kostas Kyrimis
39e7e5ad87
fix: missing error reply to client after AddOrFind throw std::bad_alloc ( #2411 )
...
* Handle properly and reply on execution paths that throw std::bad_alloc within AddOrFind
2024-01-15 10:13:10 +02:00
Roman Gershman
700a65ece5
chore: refactor VersionMonitor into a separate file ( #2326 )
...
* chore: refactor VersionMonitor into a separate file
---------
Signed-off-by: Roman Gershman <roman@dragonflydb.io>
2023-12-24 22:06:57 +02:00
Andy Dunstall
e6b8cd1d76
feat(cmd): add restricted commands flag ( #1967 )
2023-09-29 16:16:06 +01:00
Roy Jacobson
5c9c9255d2
chore: Small refactor of DflyInstance ( #1951 )
...
* Move to its own file
* Unify self.args and self.params.args earlier so it can be inspected.
2023-09-28 10:11:11 +03:00
Roy Jacobson
1e61ec8114
chore: Add a context manager to DflyInstance so we don't forget to close them. ( #1873 )
...
* chore: Add a context manager to DflyInstance so we don't forget to close
them.
* Update tests/dragonfly/config_test.py
Co-authored-by: Roman Gershman <roman@dragonflydb.io>
Signed-off-by: Roy Jacobson <roi.jacobson1@gmail.com>
---------
Signed-off-by: Roy Jacobson <roi.jacobson1@gmail.com>
Co-authored-by: Roman Gershman <roman@dragonflydb.io>
2023-09-18 13:52:56 +03:00
Roy Jacobson
b55316c0e6
tests: choose open ports randomally ( #1569 )
...
* Implement changes to the testing infrastructure to use random ports
* Use psutil to find out the random ports
2023-09-18 10:23:49 +03:00
Andy Dunstall
a8f3764048
feat(tests): unset test DFLY env variables ( #1856 )
2023-09-13 18:24:48 +01:00
Aidarbek Suleimenov
04e88a1381
feat(server): Getting flags from the environment variables ( #1810 )
...
* flags from env variables
* querying environment vars
* remove includes
* refactor
* exit for unknown flag with DFLY_ prefix
* reflecting change in the test
* better tests
* refactor + new test case
* refactor test with inner class
* refactor
* revert back test flags as it might affect ci/cd
* fixing flags
* refactor
* remove includes
* refactor
2023-09-13 10:02:38 +00:00
Kostas Kyrimis
7944af3c62
feat: Add black formatter to the project ( #1544 )
...
Add black formatter and run it on pytests
2023-07-17 13:13:12 +03:00
Vladislav
6d4d740d6e
fix: Don't remove non-concluding tx from queue on ooo runs ( #1427 )
...
* fix: Don't remove non-concluding tx from queue on ooo runs
---------
Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
2023-06-18 21:14:28 +03:00
Vladislav
b0537418bc
fix: use redis.asyncio instead of aioredis ( #1206 )
...
Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
2023-05-13 10:44:25 +03:00
Roman Gershman
52ac06e358
chore: Improve client connection checking in pytests ( #967 )
...
Also fix the compatibility of "client list" with redis-py client.
Signed-off-by: Roman Gershman <roman@dragonflydb.io>
2023-03-24 18:22:14 +03:00
ashotland
49b1ba5b6d
feat(server): Enable overriding --requirepass form env var ( #792 )
...
Signed-off-by: ashotland <ari@dragonflydb.io>
2023-02-14 13:19:33 +02:00
Vladislav
8424f74bec
feat(server): Basic capped full sync ( #440 )
...
Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
2022-11-06 17:27:43 +03:00
Vladislav
072cb2e8d9
refactor(tests): Refactor pytest ( #449 )
...
Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
2022-10-31 16:39:20 +02:00