summaryrefslogtreecommitdiff
path: root/jstests/sharding/api_params_transaction_unsharded.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/sharding/api_params_transaction_unsharded.js')
-rw-r--r--jstests/sharding/api_params_transaction_unsharded.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/jstests/sharding/api_params_transaction_unsharded.js b/jstests/sharding/api_params_transaction_unsharded.js
new file mode 100644
index 00000000000..ae24ab778dc
--- /dev/null
+++ b/jstests/sharding/api_params_transaction_unsharded.js
@@ -0,0 +1,15 @@
+/**
+ * When a client calls a mongos command with API parameters, mongos must forward them to shards.
+ *
+ * @tags: [
+ * multiversion_incompatible,
+ * requires_find_command,
+ * ]
+ */
+
+(function() {
+'use strict';
+
+load('jstests/sharding/libs/mongos_api_params_util.js');
+MongosAPIParametersUtil.runTests({inTransaction: true, shardedCollection: false});
+})();