Class: Datadog::CI::TestRetries::Strategy::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/datadog/ci/test_retries/strategy/base.rb

Overview

Strategies are subcomponents of the retry mechanism. They are responsible for determining which tests should be retried and how.

Instance Method Summary collapse

Instance Method Details

#build_driver(_test_span) ⇒ Object



19
20
21
# File 'lib/datadog/ci/test_retries/strategy/base.rb', line 19

def build_driver(_test_span)
  Driver::NoRetry.new
end

#configure(_library_settings, _test_session) ⇒ Object



16
17
# File 'lib/datadog/ci/test_retries/strategy/base.rb', line 16

def configure(_library_settings, _test_session)
end

#covers?(test_span) ⇒ Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/datadog/ci/test_retries/strategy/base.rb', line 12

def covers?(test_span)
  true
end