Sha256: 6549e141daad8ac191752b83e61356c568dfd2453154ab31a573a9a65e775521

Contents?: true

Size: 380 Bytes

Versions: 54

Compression:

Stored size: 380 Bytes

Contents

module Inferno
  module Jobs
    class ResumeTestRun
      include Sidekiq::Worker

      def perform(test_run_id)
        test_run = Inferno::Repositories::TestRuns.new.find(test_run_id)
        test_session = Inferno::Repositories::TestSessions.new.find(test_run.test_session_id)

        TestRunner.new(test_session:, test_run:, resume: true).start
      end
    end
  end
end

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
inferno_core-0.6.1 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.6.0 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.5.4 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.5.3 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.5.2 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.5.1 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.5.0 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.4.44 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.4.43 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.4.42 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.4.41 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.4.40 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.4.39 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.4.38 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.4.35 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.4.34 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.4.33 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.4.32 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.4.31 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.4.30 lib/inferno/jobs/resume_test_run.rb