From 92cdbb7c3b77401c9e53bc2197cd53d7c96eeb8b Mon Sep 17 00:00:00 2001 From: Taishi Kasuga Date: Sat, 4 May 2024 07:21:42 +0900 Subject: [PATCH] may be flaky --- test/redis_client/test_cluster.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/redis_client/test_cluster.rb b/test/redis_client/test_cluster.rb index 305a6d6..69bcf7e 100644 --- a/test/redis_client/test_cluster.rb +++ b/test/redis_client/test_cluster.rb @@ -364,7 +364,10 @@ def test_transaction_does_not_pointlessly_unwatch_on_success tx.call('SET', '{key}1', '1') tx.call('SET', '{key}2', '2') end + assert_equal(%w[WATCH MULTI SET SET EXEC], @captured_commands.to_a.map(&:command).map(&:first)) + + wait_for_replication assert_equal(%w[1 2], @client.call('MGET', '{key}1', '{key}2')) end