Remove waiting_time from runner model

After removing the logic that stores the duration that has been
waited for a runner in the runner, this now also removes the column
from the database as it is not used anymore.
This commit is contained in:
Felix Auringer
2021-06-11 12:15:13 +02:00
committed by Sebastian Serth
parent d0d1b1bffd
commit b847daf823
3 changed files with 10 additions and 5 deletions

View File

@ -3,9 +3,8 @@
# This factory does not request the runner management as the id is already provided.
FactoryBot.define do
factory :runner do
sequence(:runner_id) {|n| "test-runner-id-#{n}" }
runner_id { SecureRandom.uuid }
association :execution_environment, factory: :ruby
association :user, factory: :external_user
waiting_time { 1.0 }
end
end