Skip to content

Commit dc4899c

Browse files
authored
Update exporter/replset_config_collector_test.go
1 parent 1b2fe08 commit dc4899c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

exporter/replset_config_collector_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ func TestReplsetConfigCollector(t *testing.T) {
4141

4242
// The last \n at the end of this string is important
4343
expected := strings.NewReader(`
44-
# HELP mongodb_cfg_protocolVersion cfg.
45-
# TYPE mongodb_cfg_protocolVersion untyped
46-
mongodb_cfg_protocolVersion 1` + "\n")
44+
# HELP mongodb_rs_cfg_protocolVersion cfg.
45+
# TYPE mongodb_rs_cfg_protocolVersion untyped
46+
mongodb_rs_cfg_protocolVersion 1` + "\n")
4747
// Filter metrics for 2 reasons:
4848
// 1. The result is huge
4949
// 2. We need to check against know values. Don't use metrics that return counters like uptime

0 commit comments

Comments
 (0)