[ARVADOS] updated: 04ec74cf7dedfbb0becea0e0cb5018ccf55a31eb

git at public.curoverse.com git at public.curoverse.com
Thu May 8 21:53:28 EDT 2014


Summary of changes:
 services/keep/src/keep/handler_test.go |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

       via  04ec74cf7dedfbb0becea0e0cb5018ccf55a31eb (commit)
      from  087773f25a3df2d35e402f1afc6c7204a0852727 (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 04ec74cf7dedfbb0becea0e0cb5018ccf55a31eb
Author: Tim Pierce <twp at curoverse.com>
Date:   Thu May 8 21:51:50 2014 -0400

    2328: fix TestPutHandler permission_ttl
    
    permission_ttl is normally initialized in main, which is not run from a
    unit test.  So a unit test which relies on generating valid permission
    signatures must initialize permission_ttl itself.

diff --git a/services/keep/src/keep/handler_test.go b/services/keep/src/keep/handler_test.go
index c02ced1..a45ab43 100644
--- a/services/keep/src/keep/handler_test.go
+++ b/services/keep/src/keep/handler_test.go
@@ -110,6 +110,7 @@ func TestPutHandler(t *testing.T) {
 	// When a permission key is available, the locator returned
 	// from a PUT request will be signed.
 	PermissionSecret = []byte(known_key)
+	permission_ttl = time.Duration(300) * time.Second
 
 	// An authenticated PUT request returns a signed locator.
 	test_url = "http://localhost:25107/" + TEST_HASH

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list