Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ruby/lib/ci/queue/redis/worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions ruby/test/integration/rspec_redis_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -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.

Expand Down
Loading