Skip to content

Commit 56f5c56

Browse files
committed
Fix commandstats test compat with Redis 7
1 parent 353b590 commit 56f5c56

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/remote_server_control_commands_test.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@ def test_info
2727
def test_info_commandstats
2828
target_version "2.5.7" do
2929
r.config(:resetstat)
30-
r.config(:get, :port)
30+
r.get("foo")
31+
r.get("bar")
3132

3233
result = r.info(:commandstats)
33-
assert_equal '2', result['config']['calls']
34+
assert_equal '2', result['get']['calls']
3435
end
3536
end
3637

0 commit comments

Comments
 (0)