Skip to content

Commit a165deb

Browse files
committed
Since Sentinel keeps monitoring by ping, change commandstats key for test.
1 parent 3b8495e commit a165deb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/remote_server_control_commands_test.rb

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

3232
result = r.info(:commandstats)
33-
assert_equal "1", result["ping"]["calls"]
33+
assert_equal '2', result['config']['calls']
3434
end
3535
end
3636

0 commit comments

Comments
 (0)