summaryrefslogtreecommitdiff
path: root/jstests/concurrency
diff options
context:
space:
mode:
authorXiangyu Yao <xiangyu.yao@mongodb.com>2018-03-22 17:40:54 -0400
committerXiangyu Yao <xiangyu.yao@mongodb.com>2018-03-23 17:25:59 -0400
commit877302630e10739e3e3fa0d9c96f45bc437f3660 (patch)
tree16fbbc54ed584be3a24d429c8d316c4b6bae1af4 /jstests/concurrency
parentf5d4aae1587479ff917bd5aa81d2c0decc68a836 (diff)
downloadmongo-877302630e10739e3e3fa0d9c96f45bc437f3660.tar.gz
SERVER-33979 Tag fsm transaction test with uses_transaction
Diffstat (limited to 'jstests/concurrency')
-rw-r--r--jstests/concurrency/fsm_workloads/multi_statement_transaction_simple.js9
1 files changed, 3 insertions, 6 deletions
diff --git a/jstests/concurrency/fsm_workloads/multi_statement_transaction_simple.js b/jstests/concurrency/fsm_workloads/multi_statement_transaction_simple.js
index b7232bc8850..b5548a480d6 100644
--- a/jstests/concurrency/fsm_workloads/multi_statement_transaction_simple.js
+++ b/jstests/concurrency/fsm_workloads/multi_statement_transaction_simple.js
@@ -4,12 +4,10 @@
* Creates several bank accounts. On each iteration, each thread:
* - chooses two accounts and amount of money being transfer
* - or checks the balance of each account
+ * @tags: [uses_transactions]
*/
var $config = (function() {
- // For isWiredTiger.
- load("jstests/concurrency/fsm_workload_helpers/server_types.js");
-
function _calcTotalMoneyBalances(sessionDb, txnNumber, collName) {
let res = sessionDb.runCommand({
find: collName,
@@ -120,9 +118,8 @@ var $config = (function() {
};
var skip = function skip(cluster) {
- if (cluster.isSharded() || cluster.isStandalone() ||
- !isWiredTiger(cluster.getDB("admin"))) {
- return {skip: true, msg: 'only runs in a replica set with WiredTiger.'};
+ if (cluster.isSharded() || cluster.isStandalone()) {
+ return {skip: true, msg: 'only runs in a replica set.'};
}
return {skip: false};
};