We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77a200e commit 273aa5fCopy full SHA for 273aa5f
test/cluster_controller.rb
@@ -253,7 +253,7 @@ def flush_all_data(clients)
253
clients.each do |c|
254
c.call('FLUSHALL')
255
print_debug("#{c.config.host}:#{c.config.port} ... FLUSHALL")
256
- rescue ::RedisClient::CommandError
+ rescue ::RedisClient::CommandError, ::RedisClient::ReadOnlyError
257
# READONLY You can't write against a read only replica.
258
nil
259
end
0 commit comments