Sha256: 34fc38f2eaff18e5714070c696ab23273a6db0e84f964a378864a215a59a6363

Contents?: true

Size: 573 Bytes

Versions: 8

Compression:

Stored size: 573 Bytes

Contents

# frozen_string_literal: true

require_relative "../driver/no_retry"

module Datadog
  module CI
    module TestRetries
      module Strategy
        # Strategies are subcomponents of the retry mechanism. They are responsible for
        # determining which tests should be retried and how.
        class Base
          def covers?(test_span)
            true
          end

          def configure(_library_settings, _test_session)
          end

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
datadog-ci-1.11.0 lib/datadog/ci/test_retries/strategy/base.rb
datadog-ci-1.10.0 lib/datadog/ci/test_retries/strategy/base.rb
datadog-ci-1.9.0 lib/datadog/ci/test_retries/strategy/base.rb
datadog-ci-1.8.1 lib/datadog/ci/test_retries/strategy/base.rb
datadog-ci-1.8.0 lib/datadog/ci/test_retries/strategy/base.rb
datadog-ci-1.7.0 lib/datadog/ci/test_retries/strategy/base.rb
datadog-ci-1.6.0 lib/datadog/ci/test_retries/strategy/base.rb
datadog-ci-1.5.0 lib/datadog/ci/test_retries/strategy/base.rb