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.1.3 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.1.3.pre2 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.1.3.pre lib/inferno/jobs/resume_test_run.rb
inferno_core-0.1.2 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.1.2.pre lib/inferno/jobs/resume_test_run.rb
inferno_core-0.1.1 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.1.1.pre lib/inferno/jobs/resume_test_run.rb
inferno_core-0.1.0 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.1.0.pre lib/inferno/jobs/resume_test_run.rb
inferno_core-0.0.8 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.0.8.pre2 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.0.8.pre lib/inferno/jobs/resume_test_run.rb
inferno_core-0.0.7 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.0.6 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.0.5 lib/inferno/jobs/resume_test_run.rb
inferno_core-0.0.4 lib/inferno/jobs/resume_test_run.rb