X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/71be4f147153573074a3eff4bfa1be559bc091b5..72d7d41944006d1f48f570784dafe56b9812b0c8:/lib/controller/server_test.go diff --git a/lib/controller/server_test.go b/lib/controller/server_test.go index e3558c3f41..051f355716 100644 --- a/lib/controller/server_test.go +++ b/lib/controller/server_test.go @@ -9,6 +9,7 @@ import ( "net/http" "os" "path/filepath" + "time" "git.arvados.org/arvados.git/sdk/go/arvados" "git.arvados.org/arvados.git/sdk/go/arvadostest" @@ -39,6 +40,9 @@ func newServerFromIntegrationTestEnv(c *check.C) *httpserver.Server { PostgreSQL: integrationTestCluster().PostgreSQL, }} handler.Cluster.TLS.Insecure = true + handler.Cluster.Collections.BlobSigning = true + handler.Cluster.Collections.BlobSigningKey = arvadostest.BlobSigningKey + handler.Cluster.Collections.BlobSigningTTL = arvados.Duration(time.Hour * 24 * 14) arvadostest.SetServiceURL(&handler.Cluster.Services.RailsAPI, "https://"+os.Getenv("ARVADOS_TEST_API_HOST")) arvadostest.SetServiceURL(&handler.Cluster.Services.Controller, "http://localhost:/")