Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver006 committed May 2, 2019
1 parent c36801b commit 6a7f840
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exporter/redis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 6a7f840

Please sign in to comment.