From 6a7f8401b8477b0e595251c120343fe649d53d9f Mon Sep 17 00:00:00 2001 From: Oliver Date: Wed, 1 May 2019 21:47:47 -0400 Subject: [PATCH] wip --- exporter/redis_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exporter/redis_test.go b/exporter/redis_test.go index e61484ed..4f222f8c 100644 --- a/exporter/redis_test.go +++ b/exporter/redis_test.go @@ -993,8 +993,8 @@ func TestHTTPEndpoint(t *testing.T) { `standalone`, `cmd="get"`, - `redis_db_keys{addr="` + os.Getenv("TEST_REDIS_URI") + `",alias="",db="db0"} 1`, - `redis_db_expiring_keys_total{addr="` + os.Getenv("TEST_REDIS_URI") + `",alias="",db="db0"} `, + `test_db_keys{addr="` + os.Getenv("TEST_REDIS_URI") + `",alias="",db="db11"} 11`, + `test_db_keys_expiring{addr="` + os.Getenv("TEST_REDIS_URI") + `",alias="",db="db11"} `, } for _, test := range tests { if !strings.Contains(body, test) {