From 1737025f459d1efab311af8cc8a912a36892f62f Mon Sep 17 00:00:00 2001 From: James Lee Date: Thu, 24 Jul 2025 00:16:22 -0600 Subject: [PATCH] Fix typo electected => elected --- ruby/lib/ci/queue/redis/worker.rb | 2 +- ruby/test/integration/rspec_redis_test.rb | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ruby/lib/ci/queue/redis/worker.rb b/ruby/lib/ci/queue/redis/worker.rb index 09f55c3b..0b9781b6 100644 --- a/ruby/lib/ci/queue/redis/worker.rb +++ b/ruby/lib/ci/queue/redis/worker.rb @@ -219,7 +219,7 @@ def push(tests) end if @master = (value == status) - puts "Worker electected as leader, pushing #{@total} tests to the queue." + puts "Worker elected as leader, pushing #{@total} tests to the queue." puts attempts = 0 diff --git a/ruby/test/integration/rspec_redis_test.rb b/ruby/test/integration/rspec_redis_test.rb index a459e688..c6f11924 100644 --- a/ruby/test/integration/rspec_redis_test.rb +++ b/ruby/test/integration/rspec_redis_test.rb @@ -34,7 +34,7 @@ def test_redis_runner assert_empty err expected_output = strip_heredoc <<-EOS - Worker electected as leader, pushing 3 tests to the queue. + Worker elected as leader, pushing 3 tests to the queue. Finished pushing 3 tests to the queue in X.XXs. @@ -91,7 +91,7 @@ def test_redis_runner_retry assert_empty err expected_output = strip_heredoc <<-EOS - Worker electected as leader, pushing 3 tests to the queue. + Worker elected as leader, pushing 3 tests to the queue. Finished pushing 3 tests to the queue in X.XXs. @@ -273,7 +273,7 @@ def test_before_suite_errors assert_empty err expected_output = strip_heredoc <<-EOS - Worker electected as leader, pushing 2 tests to the queue. + Worker elected as leader, pushing 2 tests to the queue. Finished pushing 2 tests to the queue in X.XXs. @@ -317,7 +317,7 @@ def test_report assert_empty err expected_output = strip_heredoc <<-EOS - Worker electected as leader, pushing 3 tests to the queue. + Worker elected as leader, pushing 3 tests to the queue. Finished pushing 3 tests to the queue in X.XXs. @@ -418,7 +418,7 @@ def test_world_wants_to_quit assert_empty err expected_output = strip_heredoc <<-EOS - Worker electected as leader, pushing 1 tests to the queue. + Worker elected as leader, pushing 1 tests to the queue. Finished pushing 1 tests to the queue in X.XXs.