diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8834a5a..f9a4b33 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -41,4 +41,5 @@ jobs: - name: Run PING command run: | - docker exec master bash -c "/opt/redislabs/bin/redis-cli -p ${{ env.RE_DB_PORT }} ping" \ No newline at end of file + docker exec master bash -c "/opt/redislabs/bin/redis-cli -p ${{ env.RE_DB_PORT }} ping" + docker exec master bash -c "/opt/redislabs/bin/rladmin status modules" \ No newline at end of file diff --git a/create_db.sh b/create_db.sh index f6c1366..1352832 100755 --- a/create_db.sh +++ b/create_db.sh @@ -1,5 +1,21 @@ #!/bin/bash curl -u $RE_USERNAME:$RE_PASS -H "Content-type: application/json" \ - -d '{"name": "db", "port": '$RE_DB_PORT', "memory_size": 1273741824, "replication": false, "eviction_policy": "volatile-lru", "sharding": true, "shards_count": 3, "module_list": [{"module_args": "", "module_name": "ReJSON"},{"module_args": "", "module_name": "search"},{"module_args": "", "module_name": "timeseries"},{"module_args": "", "module_name": "bf"}], "oss_cluster": '$RE_USE_OSS_CLUSTER', "proxy_policy": "all-nodes", "shards_placement": "sparse", "shard_key_regex": [{"regex": ".*\\{(?.*)\\}.*"},{"regex": "(?.*)"}]}' \ + -d '{ + "name": "db", + "port": '$RE_DB_PORT', + "memory_size": 1273741824, + "replication": false, + "eviction_policy": "volatile-lru", + "sharding": true, "shards_count": 3, + "module_list": [ + {"module_args": "","module_name": "ReJSON"}, + {"module_args": "", "module_name": "search"}, + {"module_args": "", "module_name": "timeseries"}, + {"module_args": "", "module_name": "redisgears_2"}, + {"module_args": "", "module_name": "bf"}], + "oss_cluster": '$RE_USE_OSS_CLUSTER', + "proxy_policy": "all-nodes", + "shards_placement": "sparse", + "shard_key_regex": [{"regex": ".*\\{(?.*)\\}.*"},{"regex": "(?.*)"}]}' \ -k -X POST -f https://localhost:9443/v1/bdbs \ No newline at end of file