X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/510a92b885ff547dd7eecb34093f27a7245f021f..d084ca24b06c598271844d2ba4c8c40f251c0999:/services/keep-web/cache_test.go?ds=sidebyside diff --git a/services/keep-web/cache_test.go b/services/keep-web/cache_test.go index 39ad1c37f6..05325270e6 100644 --- a/services/keep-web/cache_test.go +++ b/services/keep-web/cache_test.go @@ -1,3 +1,7 @@ +// Copyright (C) The Arvados Authors. All rights reserved. +// +// SPDX-License-Identifier: AGPL-3.0 + package main import ( @@ -7,6 +11,8 @@ import ( ) func (s *UnitSuite) TestCache(c *check.C) { + c.Skip("see #11945") + arv, err := arvadosclient.MakeArvadosClient() c.Assert(err, check.Equals, nil) @@ -68,6 +74,8 @@ func (s *UnitSuite) TestCache(c *check.C) { } func (s *UnitSuite) TestCacheForceReloadByPDH(c *check.C) { + c.Skip("see #11945") + arv, err := arvadosclient.MakeArvadosClient() c.Assert(err, check.Equals, nil) @@ -86,6 +94,8 @@ func (s *UnitSuite) TestCacheForceReloadByPDH(c *check.C) { } func (s *UnitSuite) TestCacheForceReloadByUUID(c *check.C) { + c.Skip("see #11945") + arv, err := arvadosclient.MakeArvadosClient() c.Assert(err, check.Equals, nil) @@ -97,8 +107,8 @@ func (s *UnitSuite) TestCacheForceReloadByUUID(c *check.C) { } c.Check(cache.Stats().Requests, check.Equals, uint64(4)) - c.Check(cache.Stats().CollectionHits, check.Equals, uint64(1)) + c.Check(cache.Stats().CollectionHits, check.Equals, uint64(3)) c.Check(cache.Stats().PermissionHits, check.Equals, uint64(1)) - c.Check(cache.Stats().PDHHits, check.Equals, uint64(1)) + c.Check(cache.Stats().PDHHits, check.Equals, uint64(3)) c.Check(cache.Stats().APICalls, check.Equals, uint64(3)) }