[ARVADOS] updated: 1.3.0-2146-g1da59913e

Git user git at public.arvados.org
Mon Feb 10 18:41:44 UTC 2020


Summary of changes:
 lib/controller/handler_test.go | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

       via  1da59913e052cd419c4e43b4c7c6f569a94851bd (commit)
      from  ebd4760f06f66fa31ea72aaed817094a36ca5ab8 (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 1da59913e052cd419c4e43b4c7c6f569a94851bd
Author: Lucas Di Pentima <lucas at di-pentima.com.ar>
Date:   Mon Feb 10 15:40:47 2020 -0300

    16141: Adds better message on test in failing situations.
    
    Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas at di-pentima.com.ar>

diff --git a/lib/controller/handler_test.go b/lib/controller/handler_test.go
index fac2f8a82..f1d6f15e3 100644
--- a/lib/controller/handler_test.go
+++ b/lib/controller/handler_test.go
@@ -228,11 +228,12 @@ func (s *HandlerSuite) CheckObjectType(c *check.C, url string, token string, ski
 	req.Header.Set("Authorization", "Bearer "+token)
 	resp := httptest.NewRecorder()
 	s.handler.ServeHTTP(resp, req)
-	c.Check(resp.Code, check.Equals, http.StatusOK)
+	c.Assert(resp.Code, check.Equals, http.StatusOK,
+		check.Commentf("Wasn't able to get data from the controller at %q", url))
 	err = json.Unmarshal(resp.Body.Bytes(), &proxied)
 	c.Check(err, check.Equals, nil)
 
-	// Get collection directly from railsAPI
+	// Get collection directly from RailsAPI
 	client := &http.Client{
 		Transport: &http.Transport{
 			TLSClientConfig: &tls.Config{InsecureSkipVerify: true},

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list