Skip to content

Commit a0d2c19

Browse files
authored
Merge pull request #353 from Shopify/fix_elected_typo
Fix typo electected => elected
2 parents 8f6714c + 1737025 commit a0d2c19

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

ruby/lib/ci/queue/redis/worker.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def push(tests)
219219
end
220220

221221
if @master = (value == status)
222-
puts "Worker electected as leader, pushing #{@total} tests to the queue."
222+
puts "Worker elected as leader, pushing #{@total} tests to the queue."
223223
puts
224224

225225
attempts = 0

ruby/test/integration/rspec_redis_test.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def test_redis_runner
3434

3535
assert_empty err
3636
expected_output = strip_heredoc <<-EOS
37-
Worker electected as leader, pushing 3 tests to the queue.
37+
Worker elected as leader, pushing 3 tests to the queue.
3838
3939
Finished pushing 3 tests to the queue in X.XXs.
4040
@@ -91,7 +91,7 @@ def test_redis_runner_retry
9191

9292
assert_empty err
9393
expected_output = strip_heredoc <<-EOS
94-
Worker electected as leader, pushing 3 tests to the queue.
94+
Worker elected as leader, pushing 3 tests to the queue.
9595
9696
Finished pushing 3 tests to the queue in X.XXs.
9797
@@ -273,7 +273,7 @@ def test_before_suite_errors
273273

274274
assert_empty err
275275
expected_output = strip_heredoc <<-EOS
276-
Worker electected as leader, pushing 2 tests to the queue.
276+
Worker elected as leader, pushing 2 tests to the queue.
277277
278278
Finished pushing 2 tests to the queue in X.XXs.
279279
@@ -317,7 +317,7 @@ def test_report
317317

318318
assert_empty err
319319
expected_output = strip_heredoc <<-EOS
320-
Worker electected as leader, pushing 3 tests to the queue.
320+
Worker elected as leader, pushing 3 tests to the queue.
321321
322322
Finished pushing 3 tests to the queue in X.XXs.
323323
@@ -418,7 +418,7 @@ def test_world_wants_to_quit
418418

419419
assert_empty err
420420
expected_output = strip_heredoc <<-EOS
421-
Worker electected as leader, pushing 1 tests to the queue.
421+
Worker elected as leader, pushing 1 tests to the queue.
422422
423423
Finished pushing 1 tests to the queue in X.XXs.
424424

0 commit comments

Comments
 (0)