summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorDavis Haupt <davis.haupt@mongodb.com>2022-01-04 18:25:37 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-01-04 19:10:53 +0000
commit5a243e404806f10a5e55db5013d42b4321992c09 (patch)
tree12561904221aec88fc89f795f6c363af6346183f /jstests
parent84727e89407b36263e1d625348e8b26db03d714b (diff)
downloadmongo-5a243e404806f10a5e55db5013d42b4321992c09.tar.gz
SERVER-60846 replace double severity with enum type
Diffstat (limited to 'jstests')
-rw-r--r--jstests/sharding/health_monitor/server_status_health.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/jstests/sharding/health_monitor/server_status_health.js b/jstests/sharding/health_monitor/server_status_health.js
index 77c1c68485d..169c7a1865b 100644
--- a/jstests/sharding/health_monitor/server_status_health.js
+++ b/jstests/sharding/health_monitor/server_status_health.js
@@ -57,14 +57,13 @@ assert(result.enteredStateAtTime);
assert(result.faultInformation);
const faultInformation = result.faultInformation;
-assert.eq(faultInformation.severity, 1);
+// TODO: SERVER-60973 check fault severity
assert(faultInformation.duration);
assert(faultInformation.facets);
assert.eq(faultInformation.numFacets, 1);
assert(faultInformation.facets.kTestObserver);
const kTestObserverFacet = faultInformation.facets.kTestObserver;
-assert.eq(kTestObserverFacet.severity, faultInformation.severity);
assert.eq(kTestObserverFacet.duration, faultInformation.duration);
assert(kTestObserverFacet.description.includes("InternalError: test msg"));