diff options
author | Tomasz Maczukin <tomasz@maczukin.pl> | 2018-03-21 02:02:38 +0100 |
---|---|---|
committer | Tomasz Maczukin <tomasz@maczukin.pl> | 2018-03-28 13:58:34 +0200 |
commit | 557c85a79f141e435c56d971d813f492978bad61 (patch) | |
tree | cfb6f2813bbdaaf270f8e9b5565c85af62e5a288 /spec/requests | |
parent | 9ccde9cc1f1ccb70cc455686a5c7aed94adb8876 (diff) | |
download | gitlab-ce-557c85a79f141e435c56d971d813f492978bad61.tar.gz |
Use raw value of maximum_timeout for Runner registration API
Diffstat (limited to 'spec/requests')
-rw-r--r-- | spec/requests/api/runner_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/api/runner_spec.rb b/spec/requests/api/runner_spec.rb index 6676ceaab66..4703c64c534 100644 --- a/spec/requests/api/runner_spec.rb +++ b/spec/requests/api/runner_spec.rb @@ -112,7 +112,7 @@ describe API::Runner do context 'when maximum job timeout is specified' do it 'creates runner' do post api('/runners'), token: registration_token, - maximum_timeout: '2h 30m' + maximum_timeout: 9000 expect(response).to have_gitlab_http_status 201 expect(Ci::Runner.first.maximum_timeout).to eq(9000) |