[ARVADOS] updated: 23bfb867e544d4c470802ca775da593779bffdc1

Git user git at public.curoverse.com
Thu Sep 8 19:17:27 EDT 2016


Summary of changes:
 services/api/test/functional/arvados/v1/jobs_controller_test.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  23bfb867e544d4c470802ca775da593779bffdc1 (commit)
      from  706abfc3fe0788584d930ae2297b2b01dab8cf36 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 23bfb867e544d4c470802ca775da593779bffdc1
Author: Tom Clegg <tom at curoverse.com>
Date:   Thu Sep 8 17:09:26 2016 -0400

    9898: Update test for new response code.

diff --git a/services/api/test/functional/arvados/v1/jobs_controller_test.rb b/services/api/test/functional/arvados/v1/jobs_controller_test.rb
index 601f9a7..b84c93d 100644
--- a/services/api/test/functional/arvados/v1/jobs_controller_test.rb
+++ b/services/api/test/functional/arvados/v1/jobs_controller_test.rb
@@ -390,7 +390,7 @@ class Arvados::V1::JobsControllerTest < ActionController::TestCase
   test "job lock conflict" do
     authorize_with :active
     post :lock, {id: jobs(:running).uuid}
-    assert_response 403 # forbidden
+    assert_response 422 # invalid state transition
   end
 
   test 'reject invalid commit in remote repository' do

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list