diff options
author | Sergi Mateo Bellido <sergi.mateo-bellido@mongodb.com> | 2021-03-22 16:17:30 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-03-24 13:14:20 +0000 |
commit | 7cfa7de2c1b8cefa90e0b6f4a24f13a0aa3c448a (patch) | |
tree | c81729d2678e9e99c0070797bd12fc783aad4d32 /jstests | |
parent | cfa7a4ead4b5ab08d3ab61460b9e7fea1c547b20 (diff) | |
download | mongo-7cfa7de2c1b8cefa90e0b6f4a24f13a0aa3c448a.tar.gz |
SERVER-55393 Fix stale_mongos_and_restarted_shards_agree_on_shard_version.js to exclude failed refreshes
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/sharding/stale_mongos_and_restarted_shards_agree_on_shard_version.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/jstests/sharding/stale_mongos_and_restarted_shards_agree_on_shard_version.js b/jstests/sharding/stale_mongos_and_restarted_shards_agree_on_shard_version.js index 4648cb17272..76b903f415a 100644 --- a/jstests/sharding/stale_mongos_and_restarted_shards_agree_on_shard_version.js +++ b/jstests/sharding/stale_mongos_and_restarted_shards_agree_on_shard_version.js @@ -215,7 +215,9 @@ const staleMongoS = st.s1; // Check for the expected number of refreshes. const catalogCacheStatistics = st.shard0.adminCommand({serverStatus: 1}).shardingStatistics.catalogCache; - assert.eq(kNumThreadsForConvoyTest, catalogCacheStatistics.countFullRefreshesStarted); + assert.eq(kNumThreadsForConvoyTest, + catalogCacheStatistics.countFullRefreshesStarted - + catalogCacheStatistics.countFailedRefreshes); assert.eq(0, catalogCacheStatistics.countIncrementalRefreshesStarted); } |