[ARVADOS] updated: 1.1.0-193-g20c3fbd

Git user git at public.curoverse.com
Wed Nov 29 11:07:46 EST 2017


Summary of changes:
 sdk/go/httpserver/logger_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  20c3fbd046f726590774c5d7a1897835080a34e3 (commit)
      from  5a32827d1f5ada007f83f5d5bb9b2d12526f2755 (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 20c3fbd046f726590774c5d7a1897835080a34e3
Author: Tom Clegg <tclegg at veritasgenetics.com>
Date:   Wed Nov 29 11:07:14 2017 -0500

    12167: Test request ID size.
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg at veritasgenetics.com>

diff --git a/sdk/go/httpserver/logger_test.go b/sdk/go/httpserver/logger_test.go
index 5b54f32..bbcafa1 100644
--- a/sdk/go/httpserver/logger_test.go
+++ b/sdk/go/httpserver/logger_test.go
@@ -46,7 +46,7 @@ func (s *Suite) TestLogRequests(c *check.C) {
 	gotReq := make(map[string]interface{})
 	err = dec.Decode(&gotReq)
 	c.Logf("%#v", gotReq)
-	c.Check(gotReq["RequestID"], check.Matches, "req-[a-z0-9]+")
+	c.Check(gotReq["RequestID"], check.Matches, "req-[a-z0-9]{20}")
 	c.Check(gotReq["reqForwardedFor"], check.Equals, "1.2.3.4:12345")
 	c.Check(gotReq["msg"], check.Equals, "request")
 

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list