Disable features without required Redis modules
Some features, like querying and embedded models, require either the RediSearch or RedisJSON modules running in Redis. Without these modules, using these features would result in inscrutable errors. We now disable some tests if the Redis module required for the test is not found in the Redis instance the tests are using, and raise errors or log messages if the same is true during execution of HashModel and JsonModel.
This commit is contained in:
parent
ca48b222f3
commit
2b1994b98b
8 changed files with 269 additions and 10 deletions
|
@ -9,3 +9,11 @@ services:
|
|||
- "6380:6379"
|
||||
volumes:
|
||||
- ./data:/data
|
||||
|
||||
oss_redis:
|
||||
image: "redis:latest"
|
||||
restart: always
|
||||
ports:
|
||||
- "6381:6379"
|
||||
volumes:
|
||||
- ./oss_data:/oss_data
|
Loading…
Add table
Add a link
Reference in a new issue