[ARVADOS] updated: 1.3.0-1050-g38869cf0a
Git user
git at public.curoverse.com
Thu Jun 13 21:04:03 UTC 2019
Summary of changes:
lib/controller/handler_test.go | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
via 38869cf0a55f5d41c150eb4a8591c693bda77daa (commit)
from 3f45203069cda0b906ceeaf64d1ac8146a085895 (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 38869cf0a55f5d41c150eb4a8591c693bda77daa
Author: Tom Clegg <tclegg at veritasgenetics.com>
Date: Thu Jun 13 17:03:50 2019 -0400
15000: Update test.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg at veritasgenetics.com>
diff --git a/lib/controller/handler_test.go b/lib/controller/handler_test.go
index cb69f2f6b..9b0ff2764 100644
--- a/lib/controller/handler_test.go
+++ b/lib/controller/handler_test.go
@@ -54,7 +54,10 @@ func (s *HandlerSuite) TearDownTest(c *check.C) {
}
func (s *HandlerSuite) TestConfigExport(c *check.C) {
- s.cluster.Containers.CloudVMs.PollInterval = arvados.Duration(23 * time.Second)
+ s.cluster.ManagementToken = "secret"
+ s.cluster.SystemRootToken = "secret"
+ s.cluster.Collections.BlobSigning = true
+ s.cluster.Collections.BlobSigningTTL = arvados.Duration(23 * time.Second)
req := httptest.NewRequest("GET", "/arvados/v1/config", nil)
resp := httptest.NewRecorder()
s.handler.ServeHTTP(resp, req)
@@ -65,9 +68,8 @@ func (s *HandlerSuite) TestConfigExport(c *check.C) {
c.Check(err, check.IsNil)
c.Check(cluster.ManagementToken, check.Equals, "")
c.Check(cluster.SystemRootToken, check.Equals, "")
- c.Check(cluster.TLS.Insecure, check.Equals, true)
- c.Check(cluster.Services.RailsAPI, check.DeepEquals, s.cluster.Services.RailsAPI)
- c.Check(cluster.Containers.CloudVMs.PollInterval, check.Equals, arvados.Duration(23*time.Second))
+ c.Check(cluster.Collections.BlobSigning, check.DeepEquals, true)
+ c.Check(cluster.Collections.BlobSigningTTL, check.Equals, arvados.Duration(23*time.Second))
}
func (s *HandlerSuite) TestProxyDiscoveryDoc(c *check.C) {
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list