Skip to content

Commit

Permalink
mark test as onlynoncluster
Browse files Browse the repository at this point in the history
  • Loading branch information
dvora-h committed Feb 2, 2022
1 parent 4652ccb commit 25d1919
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -1492,6 +1492,8 @@ def test_blmpop(self, unstable_r):
assert unstable_r.blmpop(0, "2", "b", "a", direction="LEFT") == [b"b", [b"6"]]
assert unstable_r.blmpop(1, "2", "foo", "bar", direction="RIGHT") is None

@pytest.mark.onlynoncluster
# @skip_if_server_version_lt("7.0.0") turn on after redis 7 release
def test_lmpop(self, unstable_r):
unstable_r.rpush("foo", "1", "2", "3", "4", "5")
result = [b"foo", [b"1", b"2"]]
Expand Down

0 comments on commit 25d1919

Please sign in to comment.