Class: CI::Queue::Redis::Retry
- Defined in:
- lib/ci/queue/redis/retry.rb
Constant Summary
Constants inherited from Static
Constants included from Common
Instance Attribute Summary
Attributes inherited from Static
Attributes included from Common
Instance Method Summary collapse
- #build ⇒ Object
-
#initialize(tests, config, redis:) ⇒ Retry
constructor
A new instance of Retry.
Methods inherited from Static
#acknowledge, #boot_heartbeat_process!, #created_at=, #distributed?, #ensure_heartbeat_thread_alive!, #exhausted?, #expired?, from_uri, #increment_test_failed, #max_test_failed?, #poll, #populate, #populated?, #queue_initialized?, #remaining, #report_worker_error, #requeue, #retry_queue, #running, #shutdown!, #size, #stop_heartbeat!, #supervisor, #test_failed, #to_a, #with_heartbeat
Methods included from Common
#distributed?, #flaky?, #release!, #report_failure!, #report_success!, #rescue_connection_errors, #retrying?
Constructor Details
#initialize(tests, config, redis:) ⇒ Retry
Returns a new instance of Retry.
6 7 8 9 |
# File 'lib/ci/queue/redis/retry.rb', line 6 def initialize(tests, config, redis:) @redis = redis super(tests, config) end |
Instance Method Details
#build ⇒ Object
11 12 13 |
# File 'lib/ci/queue/redis/retry.rb', line 11 def build @build ||= CI::Queue::Redis::BuildRecord.new(self, redis, config) end |