summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2015-12-11 16:41:14 -0500
committerRandolph Tan <randolph@10gen.com>2015-12-14 10:16:53 -0500
commit2d853ea4939d13727f54c86102782b864e447505 (patch)
tree6757a2fac21b7c9480a9d43f827be9185e4dad67
parentadbb4b5fd39037364e7ab8adb30d30f51e8ee9c1 (diff)
downloadmongo-2d853ea4939d13727f54c86102782b864e447505.tar.gz
SERVER-21871 Do not run min_optime_recovery.js on ephemeralForTest storageEngine
(cherry picked from commit eb833081504ce0452c0f438d0218bc01f467eaec)
-rw-r--r--jstests/sharding/min_optime_recovery.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/jstests/sharding/min_optime_recovery.js b/jstests/sharding/min_optime_recovery.js
index 9da6f165362..96530d16a9b 100644
--- a/jstests/sharding/min_optime_recovery.js
+++ b/jstests/sharding/min_optime_recovery.js
@@ -1,6 +1,10 @@
/**
* Basic testing for minOpTimeRecovery document. Tests that it will be created after a migration
* only if the config server is a replica set and recovery will not run when disabled.
+ *
+ * This test restarts a shard and the shard will attempt to read a document that was saved before
+ * the restart, so it cannot be run on ephemeral storage engines.
+ * @tags: [requires_persistence]
*/
(function() {
"use strict";