Class: Inferno::Jobs::ResumeTestRun
- Inherits:
-
Object
- Object
- Inferno::Jobs::ResumeTestRun
- Includes:
- Sidekiq::Worker
- Defined in:
- lib/inferno/jobs/resume_test_run.rb
Instance Method Summary collapse
Instance Method Details
#perform(test_run_id) ⇒ Object
6 7 8 9 10 11 |
# 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_run:, resume: true).start end |