summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Edin <henrik.edin@mongodb.com>2018-05-31 10:27:42 -0400
committerHenrik Edin <henrik.edin@mongodb.com>2018-05-31 11:42:41 -0400
commita495a97099df2ce5c20882611962d33d61fffca8 (patch)
treec56c18bc1f5691de61707052361b5b2134ceff38
parent7d90be2b5bd9ed448f0b39d4ec9fd9402e96c8ff (diff)
downloadmongo-a495a97099df2ce5c20882611962d33d61fffca8.tar.gz
SERVER-35306 Disable tests that uses capped collections on embedded.
-rw-r--r--jstests/core/capped_convertToCapped1.js10
-rw-r--r--jstests/core/clone_as_capped_nonexistant.js9
-rw-r--r--jstests/core/collation_convert_to_capped.js14
-rw-r--r--jstests/core/convert_to_capped_nonexistant.js15
4 files changed, 39 insertions, 9 deletions
diff --git a/jstests/core/capped_convertToCapped1.js b/jstests/core/capped_convertToCapped1.js
index 3636c932358..62931b24a20 100644
--- a/jstests/core/capped_convertToCapped1.js
+++ b/jstests/core/capped_convertToCapped1.js
@@ -1,4 +1,12 @@
-// @tags: [requires_non_retryable_commands, requires_fastcount]
+/**
+ * @tags: [
+ * requires_non_retryable_commands,
+ * requires_fastcount,
+ *
+ * # capped collections is not available on embedded
+ * incompatible_with_embedded,
+ * ]
+ */
// test cloneCollectionAsCapped
diff --git a/jstests/core/clone_as_capped_nonexistant.js b/jstests/core/clone_as_capped_nonexistant.js
index a307f008ec3..1a87749002d 100644
--- a/jstests/core/clone_as_capped_nonexistant.js
+++ b/jstests/core/clone_as_capped_nonexistant.js
@@ -1,4 +1,11 @@
-// @tags: [requires_non_retryable_commands]
+/**
+ * @tags: [
+ * requires_non_retryable_commands,
+ *
+ * # capped collections is not available on embedded
+ * incompatible_with_embedded,
+ * ]
+ */
(function() {
"use strict";
diff --git a/jstests/core/collation_convert_to_capped.js b/jstests/core/collation_convert_to_capped.js
index 9366d6a0e03..7e77fd7b7fe 100644
--- a/jstests/core/collation_convert_to_capped.js
+++ b/jstests/core/collation_convert_to_capped.js
@@ -1,7 +1,15 @@
-// @tags: [requires_non_retryable_commands]
+/**
+ * Test that the collection created with the "convertToCapped" command inherits the default
+ * collation of the corresponding collection.
+ *
+ * @tags: [
+ * requires_non_retryable_commands,
+ *
+ * # capped collections is not available on embedded
+ * incompatible_with_embedded,
+ * ]
+ */
-// Test that the collection created with the "convertToCapped" command inherits the default
-// collation of the corresponding collection.
(function() {
"use strict";
diff --git a/jstests/core/convert_to_capped_nonexistant.js b/jstests/core/convert_to_capped_nonexistant.js
index 6f878a3e372..aa584ec31a7 100644
--- a/jstests/core/convert_to_capped_nonexistant.js
+++ b/jstests/core/convert_to_capped_nonexistant.js
@@ -1,7 +1,14 @@
-// @tags: [requires_non_retryable_commands]
-
-// This test ensures that ConvertToCapped()ing a nonexistent collection will not cause the server to
-// abort (SERVER-13750)
+/**
+ * This test ensures that ConvertToCapped()ing a nonexistent collection will not cause the server to
+ * abort (SERVER-13750)
+ *
+ * @tags: [
+ * requires_non_retryable_commands,
+ *
+ * # capped collections is not available on embedded
+ * incompatible_with_embedded,
+ * ]
+ */
var testDb = db.getSiblingDB("convert_to_capped_nonexistent");
testDb.dropDatabase();