Sha256: ddd400f8263db4483382411ac1d2383ed7a1cca3f172714694f7230d1daac59f

Contents?: true

Size: 402 Bytes

Versions: 36

Compression:

Stored size: 402 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_session, test_run: test_run, resume: true).start
      end
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
inferno_core-0.3.12 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.3.11 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.3.10 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.3.9 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.3.8 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.3.7 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.3.6 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.3.5 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.3.4 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.3.3 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.3.2 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.3.1 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.3.0 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.3.0.rc1 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.2.0 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.2.0.rc4 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.2.0.rc3 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.2.0.rc2 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.2.0.rc1 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.1.4.pre lib/inferno/jobs/resume_test_run.rb