Skip to content

Commit

Permalink
Merge pull request #3 from tair-opensource/add-list
Browse files Browse the repository at this point in the history
feat: add support for list
  • Loading branch information
yangbodong22011 committed Jul 17, 2023
2 parents 1152bb8 + 71be92c commit c3bfd9f
Show file tree
Hide file tree
Showing 2 changed files with 778 additions and 6 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ optional arguments:
--port PORT the redis port
--password PASSWORD the redis password
--testfile TESTFILE the redis compatibility test cases
--specific-version {1.0.0,2.8.0,4.0.0,5.0.0,6.0.0,6.2.0,7.0.0}
--specific-version {1.0.0, 2.8.0, 3.2.0, 4.0.0, 5.0.0, 6.0.0, 6.2.0, 7.0.0}
the redis version
--show-failed show details of failed tests
--cluster server is a node of the Redis cluster
Expand All @@ -33,11 +33,12 @@ Examples:
Test whether host:port is compatible with redis 6.2.0 and display failure case:
```
$ python3 redis_compatibility_test.py -h host -p port --testfile cts.json --specific-version 6.2.0 --show-failed
test: pexpiretime command version skipped
test: persist command passed
Connecting to 127.0.0.1:6379 use standalone client
test: del command passed
test: unlink command passed
...
test: set command passed
test: rpushx with multiple element passed
-------- The result of tests --------
version: 6.2.0, total tests: 17, passed: 17, rate: 100.0%
version: 6.2.0, total tests: 62, passed: 62, rate: 100.0%
```
More examples are shown `python3 redis_compatibility_test.py -h`.
Loading

0 comments on commit c3bfd9f

Please sign in to comment.