Skip to content

Commit 0cf9d92

Browse files
committed
PMM-7 Fix test.
1 parent 764bd5e commit 0cf9d92

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

exporter/diagnostic_data_collector_test.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -419,9 +419,6 @@ func TestDisconnectedDiagnosticDataCollector(t *testing.T) {
419419

420420
// The last \n at the end of this string is important
421421
expected := strings.NewReader(`
422-
# HELP mongodb_mongod_storage_engine The storage engine used by the MongoDB instance
423-
# TYPE mongodb_mongod_storage_engine gauge
424-
mongodb_mongod_storage_engine{engine="wiredTiger"} 1
425422
# HELP mongodb_version_info The server version
426423
# TYPE mongodb_version_info gauge
427424
mongodb_version_info{edition="",mongodb="",vendor=""} 1` + "\n")
@@ -430,7 +427,6 @@ func TestDisconnectedDiagnosticDataCollector(t *testing.T) {
430427
// 2. We need to check against know values. Don't use metrics that return counters like uptime
431428
// or counters like the number of transactions because they won't return a known value to compare
432429
filter := []string{
433-
"mongodb_mongod_storage_engine",
434430
"mongodb_version_info",
435431
}
436432

0 commit comments

Comments
 (0)