Skip to content

Commit

Permalink
fix:gha
Browse files Browse the repository at this point in the history
  • Loading branch information
cunla committed Sep 26, 2024
1 parent b9c456f commit 6709c17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_stack/test_topk.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
topk_tests = pytest.importorskip("probables")


@pytest.mark.unsupported_server_types("dragonfly")
@pytest.mark.unsupported_server_types("dragonfly", "valkey")
def test_topk_incrby(r: redis.Redis):
assert r.topk().reserve("topk", 3, 10, 3, 1)
assert [None, None, None] == r.topk().incrby("topk", ["bar", "baz", "42"], [3, 6, 2])
Expand All @@ -13,7 +13,7 @@ def test_topk_incrby(r: redis.Redis):
assert [3, 6, 10, 4, 0] == r.topk().count("topk", "bar", "baz", "42", "xyzzy", 4)


@pytest.mark.unsupported_server_types("dragonfly")
@pytest.mark.unsupported_server_types("dragonfly", "valkey")
def test_topk(r: redis.Redis):
# test list with empty buckets
assert r.topk().reserve("topk", 3, 50, 4, 0.9)
Expand Down

0 comments on commit 6709c17

Please sign in to comment.