You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Connecting to 127.0.0.1:6379 use standalone client
38
36
test: del command passed
39
37
test: unlink command passed
40
38
...
41
-
test: rpushx with multiple element passed
39
+
test: xtrim command with MINID/LIMIT passed
40
+
-------- The result of tests --------
41
+
Summary: version: 6.2.0, total tests: 285, passed: 285, rate: 100.00%
42
+
```
43
+
More examples are shown `python3 redis_compatibility_test.py -h`.
44
+
45
+
## cluster
46
+
Redis has two modes from the API level, namely `Standalone` (Sentinel has no API restrictions like Standalone) and `Cluster`, where the command support of Standalone does not require Cross slot, but Cluster restricts multi-key commands to be executed in the same slot (e.g. mset/mget ), therefore, we support `--cluster` to test the compatibility of cluster mode, you can test your Redis Cluster cluster compatibility as follows:
version: 6.2.0, total tests: 62, passed: 62, rate: 100.0%
55
+
Summary: version: 6.2.0, total tests: 260, passed: 260, rate: 100.00%
56
+
```
57
+
58
+
## genhtml
59
+
You can use `--genhtml` to generate a test report similar to the html of this [website](https://tair-opensource.github.io/compatibility-test-suite-for-redis/). It should be noted that this option will read the configuration in [config.yaml](config.yaml) for testing. Special attention needs to be paid, at this time the `specific-version` specified in your command line will be overwritten by the one in the configuration file.
0 commit comments