diff options
author | Lingzhi Deng <lingzhi.deng@mongodb.com> | 2019-05-20 00:49:33 -0400 |
---|---|---|
committer | Lingzhi Deng <lingzhi.deng@mongodb.com> | 2019-05-23 16:46:30 -0400 |
commit | 8a89b076d28a904c200e491698ef1169dd8a7254 (patch) | |
tree | dc32fa3bdc62cdd9f8b9b84777f0df8f03f43cec /jstests/core/txns | |
parent | 47d4eca3fcdfa8eed0f1bef28021c8603452dec3 (diff) | |
download | mongo-8a89b076d28a904c200e491698ef1169dd8a7254.tar.gz |
SERVER-40938: disallow afterClusterTime and ignore prepare conflicts for dbhash and map-reduce
Diffstat (limited to 'jstests/core/txns')
-rw-r--r-- | jstests/core/txns/commands_banning_txnnumber_outside_transactions.js | 6 | ||||
-rw-r--r-- | jstests/core/txns/commands_not_allowed_in_txn.js | 7 |
2 files changed, 11 insertions, 2 deletions
diff --git a/jstests/core/txns/commands_banning_txnnumber_outside_transactions.js b/jstests/core/txns/commands_banning_txnnumber_outside_transactions.js index ead98683049..f1048698b47 100644 --- a/jstests/core/txns/commands_banning_txnnumber_outside_transactions.js +++ b/jstests/core/txns/commands_banning_txnnumber_outside_transactions.js @@ -1,5 +1,9 @@ // Test that commands other than retryable writes may not use txnNumber outside transactions. -// @tags: [requires_document_locking] +// @tags: [ +// # mapReduce does not support afterClusterTime. +// does_not_support_causal_consistency, +// requires_document_locking, +// ] (function() { "use strict"; diff --git a/jstests/core/txns/commands_not_allowed_in_txn.js b/jstests/core/txns/commands_not_allowed_in_txn.js index 7300de24598..f23d6bb81c1 100644 --- a/jstests/core/txns/commands_not_allowed_in_txn.js +++ b/jstests/core/txns/commands_not_allowed_in_txn.js @@ -1,5 +1,10 @@ // Test commands that are not allowed in multi-document transactions. -// @tags: [uses_transactions, uses_snapshot_read_concern] +// @tags: [ +// # mapReduce does not support afterClusterTime. +// does_not_support_causal_consistency, +// uses_snapshot_read_concern, +// uses_transactions, +// ] (function() { "use strict"; |