[ARVADOS] updated: 4e5342f47855cb76c22bdb9095c7e459701833bd

git at public.curoverse.com git at public.curoverse.com
Mon Dec 14 15:39:02 EST 2015


Summary of changes:
 services/api/test/unit/container_request_test.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

       via  4e5342f47855cb76c22bdb9095c7e459701833bd (commit)
      from  e74e37c42a38fbd985f35d58796ae008194e9d23 (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 4e5342f47855cb76c22bdb9095c7e459701833bd
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Mon Dec 14 15:38:58 2015 -0500

    Cleanup of test cleanup.  refs #6429

diff --git a/services/api/test/unit/container_request_test.rb b/services/api/test/unit/container_request_test.rb
index f38fe56..d0def57 100644
--- a/services/api/test/unit/container_request_test.rb
+++ b/services/api/test/unit/container_request_test.rb
@@ -249,7 +249,7 @@ class ContainerRequestTest < ActiveSupport::TestCase
     c = Container.find_by_uuid cr.container_uuid
     assert_equal 5, c.priority
 
-    c2 = Container.find_by_uuid c2.container_uuid
+    c2 = Container.find_by_uuid cr2.container_uuid
     assert_equal 10, c2.priority
 
     cr.priority = 0
@@ -350,7 +350,7 @@ class ContainerRequestTest < ActiveSupport::TestCase
     cr2.requesting_container_uuid = c.uuid
     cr2.save!
 
-    c2 = Container.find_by_uuid c2.container_uuid
+    c2 = Container.find_by_uuid cr2.container_uuid
     assert_equal 10, c2.priority
 
     act_as_system_user do

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list