14287: Ensure timestamps in responses have 9 digits of nanoseconds.
[arvados.git] / lib / controller / server_test.go
index a398af97b21884ae896f675b1c2ab00a59ae55d4..803315bc66644d36e433b19000ee7da90b4a361e 100644 (file)
@@ -36,8 +36,10 @@ func newServerFromIntegrationTestEnv(c *check.C) *httpserver.Server {
        handler := &Handler{Cluster: &arvados.Cluster{
                ClusterID:  "zzzzz",
                PostgreSQL: integrationTestCluster().PostgreSQL,
-               TLS:        arvados.TLS{Insecure: true},
+
+               EnableBetaController14287: enableBetaController14287,
        }}
+       handler.Cluster.TLS.Insecure = true
        arvadostest.SetServiceURL(&handler.Cluster.Services.RailsAPI, "https://"+os.Getenv("ARVADOS_TEST_API_HOST"))
        arvadostest.SetServiceURL(&handler.Cluster.Services.Controller, "http://localhost:/")