15499: Make reuse tests fail to expose the bug.
authorLucas Di Pentima <ldipentima@veritasgenetics.com>
Fri, 6 Sep 2019 21:28:39 +0000 (18:28 -0300)
committerLucas Di Pentima <ldipentima@veritasgenetics.com>
Fri, 6 Sep 2019 21:28:39 +0000 (18:28 -0300)
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

services/api/test/unit/container_request_test.rb
services/login-sync/Gemfile.lock

index 2637e77937b1cb8b5954abed52d66c382fe4f24a..4087a887888e8fd10b4b28be6b5c2d5c02f81d73 100644 (file)
@@ -630,6 +630,8 @@ class ContainerRequestTest < ActiveSupport::TestCase
       set_user_from_auth :active
       cr1 = create_minimal_req!(common_attrs.merge({state: ContainerRequest::Committed,
                                                     environment: env1}))
+      run_container(cr1)
+      cr1.reload
       if use_existing.nil?
         # Testing with use_existing default value
         cr2 = create_minimal_req!(common_attrs.merge({state: ContainerRequest::Uncommitted,
@@ -855,8 +857,7 @@ class ContainerRequestTest < ActiveSupport::TestCase
       c.update_attributes!(state: Container::Running)
       c.update_attributes!(state: Container::Complete,
                            exit_code: 0,
-                           output: '1f4b0bc7583c2a7f9102c395f4ffc5e3+45',
-                           log: 'fa7aeb5140e2848d39b416daeef4ffc5+45')
+                           output: '1f4b0bc7583c2a7f9102c395f4ffc5e3+45')
       c
     end
   end
index f0283b6114a05fcf7c29eb72b2307671fc0b499c..70b666af8460a6ca7731d590cf6e8bf77a4af31a 100644 (file)
@@ -1,7 +1,7 @@
 PATH
   remote: .
   specs:
-    arvados-login-sync (1.4.0.20190709140013)
+    arvados-login-sync (1.4.0.20190729193732)
       arvados (~> 1.3.0, >= 1.3.0)
 
 GEM
@@ -60,9 +60,9 @@ GEM
     mocha (1.8.0)
       metaclass (~> 0.0.1)
     multi_json (1.13.1)
-    multipart-post (2.0.0)
-    os (1.0.0)
-    public_suffix (3.0.3)
+    multipart-post (2.1.1)
+    os (1.0.1)
+    public_suffix (3.1.1)
     rake (12.3.2)
     retriable (1.4.1)
     signet (0.11.0)