[ARVADOS] updated: 1.3.0-3240-g0c0e656b7
Git user
git at public.arvados.org
Tue Oct 13 17:53:49 UTC 2020
Summary of changes:
lib/controller/forecast/controller_test.go | 2 ++
1 file changed, 2 insertions(+)
via 0c0e656b77b1c36e215a6253eff69e0d8c7e6060 (commit)
from 9893aad51a031c4503e75745c114b35bc4509e6f (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 0c0e656b77b1c36e215a6253eff69e0d8c7e6060
Author: Nico Cesar <nico at nicocesar.com>
Date: Tue Oct 13 13:52:41 2020 -0400
Added context to use fixture user's credentials
refs #16462
Arvados-DCO-1.1-Signed-off-by: Nico Cesar <nico at curii.com>
diff --git a/lib/controller/forecast/controller_test.go b/lib/controller/forecast/controller_test.go
index afd8ecc64..db8d05c99 100644
--- a/lib/controller/forecast/controller_test.go
+++ b/lib/controller/forecast/controller_test.go
@@ -49,6 +49,8 @@ func integrationTestCluster() *arvados.Cluster {
func (s *ForecastSuite) SetUpTest(c *check.C) {
s.ctx = context.Background()
+ // default user that has access to the fixtures
+ s.ctx = auth.NewContext(s.ctx, &auth.Credentials{Tokens: []string{arvadostest.ActiveTokenV2}})
s.ctx = ctxlog.Context(s.ctx, ctxlog.New(os.Stderr, "json", "debug"))
cluster := &arvados.Cluster{
ClusterID: "zzzzz",
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list