class Inferno::Jobs::ResumeTestRun

Public Instance Methods

perform(test_run_id) click to toggle source
# File lib/inferno/jobs/resume_test_run.rb, line 6
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