[ARVADOS] updated: 2.1.0-220-ge1eba75fd
    Git user 
    git at public.arvados.org
       
    Tue Dec 22 08:23:40 UTC 2020
    
    
  
Summary of changes:
 lib/crunchrun/crunchrun_test.go | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
       via  e1eba75fd362aadc5119e6bebb5efe05ad46d6db (commit)
      from  cf209afe7018a987bd67a1b20e90b0f31eceba16 (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 e1eba75fd362aadc5119e6bebb5efe05ad46d6db
Author: Tom Clegg <tom at curii.com>
Date:   Tue Dec 22 03:21:43 2020 -0500
    17014: Fix test.
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curii.com>
diff --git a/lib/crunchrun/crunchrun_test.go b/lib/crunchrun/crunchrun_test.go
index a1b33b33d..dbdaa6293 100644
--- a/lib/crunchrun/crunchrun_test.go
+++ b/lib/crunchrun/crunchrun_test.go
@@ -1291,9 +1291,7 @@ func (s *TestSuite) TestSetupMounts(c *C) {
 		cr.Container.Mounts = make(map[string]arvados.Mount)
 		cr.Container.Mounts["/tmp"] = arvados.Mount{Kind: "tmp"}
 		cr.Container.OutputPath = "/tmp"
-
-		apiflag := true
-		cr.Container.RuntimeConstraints.API = apiflag
+		cr.Container.RuntimeConstraints.API = true
 
 		err := cr.SetupMounts()
 		c.Check(err, IsNil)
@@ -1305,7 +1303,7 @@ func (s *TestSuite) TestSetupMounts(c *C) {
 		cr.CleanupDirs()
 		checkEmpty()
 
-		apiflag = false
+		cr.Container.RuntimeConstraints.API = false
 	}
 
 	{
-----------------------------------------------------------------------
hooks/post-receive
-- 
    
    
More information about the arvados-commits
mailing list