[ARVADOS] updated: feaf44094afa6774cd6583f1a121454d6754ba0c

Git user git at public.curoverse.com
Fri Sep 2 16:20:26 EDT 2016


Summary of changes:
 .../api/test/functional/arvados/v1/containers_controller_test.rb   | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

       via  feaf44094afa6774cd6583f1a121454d6754ba0c (commit)
      from  5054334a7417e35990e020aecf852a5eb3056108 (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 feaf44094afa6774cd6583f1a121454d6754ba0c
Author: radhika <radhika at curoverse.com>
Date:   Fri Sep 2 16:08:58 2016 -0400

    9898: test updates

diff --git a/services/api/test/functional/arvados/v1/containers_controller_test.rb b/services/api/test/functional/arvados/v1/containers_controller_test.rb
index b443cee..208c1cc 100644
--- a/services/api/test/functional/arvados/v1/containers_controller_test.rb
+++ b/services/api/test/functional/arvados/v1/containers_controller_test.rb
@@ -87,15 +87,14 @@ class Arvados::V1::ContainersControllerTest < ActionController::TestCase
     assert cr.update_attributes(container_uuid: c.uuid,
                                 state: ContainerRequest::Committed,
                                ), show_errors(cr)
-
     return c
   end
 
   [
     [['Queued', :success], ['Locked', :success]],
-    [['Queued', :success], ['Locked', :success], ['Locked', 422]],
-    [['Queued', :success], ['Locked', :success], ['Queued', :success]],
-    [['Queued', :success], ['Locked', :success], ['Running', :success], ['Queued', 422]],
+    [['Locked', :success], ['Locked', 422]],
+    [['Locked', :success], ['Queued', :success]],
+    [['Locked', :success], ['Running', :success], ['Queued', 422]],
   ].each do |transitions|
     test "lock and unlock state transitions #{transitions}" do
       authorize_with :dispatch1

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list