Sha256: 06b5f31024c7f3cbc4f8754e80e764da54766f47a70e55ed9c798d5f17ae9548

Contents?: true

Size: 466 Bytes

Versions: 7

Compression:

Stored size: 466 Bytes

Contents

require 'kaya'

module Kaya
  module Workers
    class ExecutionChecker
      include Sidekiq::Worker
        def perform(suite_id)

          Kaya::Support::Configuration.get
          Kaya::Database::MongoConnector.new Kaya::Support::Configuration.db_connection_data

          suite = Kaya::Suites::Suite.get(suite_id)
          begin
            suite.check_last_result!
            sleep 10
          end while not suite.is_ready?
        end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
kaya-0.0.7 lib/kaya/background_jobs/workers/execution_checker.rb
kaya-0.0.6 lib/kaya/background_jobs/workers/execution_checker.rb
kaya-0.0.5 lib/kaya/background_jobs/workers/execution_checker.rb
kaya-0.0.4 lib/kaya/background_jobs/workers/execution_checker.rb
kaya-0.0.3 lib/kaya/background_jobs/workers/execution_checker.rb
kaya-0.0.2 lib/kaya/background_jobs/workers/execution_checker.rb
kaya-0.0.1 lib/kaya/background_jobs/workers/execution_checker.rb