16745: Update test.
authorTom Clegg <tom@curii.com>
Wed, 3 Mar 2021 15:05:02 +0000 (10:05 -0500)
committerTom Clegg <tom@curii.com>
Wed, 3 Mar 2021 15:05:02 +0000 (10:05 -0500)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

services/keep-web/server_test.go

index 0a1c7d1b3a89a8338428cf25597ee27050633ccd..5c68eb4249d0a7da7c4ea04717d8295041d29cd0 100644 (file)
@@ -395,7 +395,7 @@ func (s *IntegrationSuite) TestMetrics(c *check.C) {
        c.Check(counters["arvados_keepweb_collectioncache_permission_hits//"].Value, check.Equals, int64(1))
        c.Check(gauges["arvados_keepweb_collectioncache_cached_manifests//"].Value, check.Equals, float64(1))
        // FooCollection's cached manifest size is 45 ("1f4b0....+45") plus one 51-byte blob signature
-       c.Check(gauges["arvados_keepweb_collectioncache_cached_manifest_bytes//"].Value, check.Equals, float64(45+51))
+       c.Check(gauges["arvados_keepweb_sessions_cached_collection_bytes//"].Value, check.Equals, float64(45+51))
 
        // If the Host header indicates a collection, /metrics.json
        // refers to a file in the collection -- the metrics handler