blob: dc847ce498d1ccff7580e60524fa09a89d9bf4af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
test_kind: fsm_workload_test
selector:
roots:
- jstests/concurrency/fsm_workloads/**/*.js
exclude_files:
##
# Disabled due to MongoDB restrictions and/or workload restrictions
##
# These workloads use >100MB of data, which can overwhelm test hosts.
- jstests/concurrency/fsm_workloads/agg_group_external.js
- jstests/concurrency/fsm_workloads/agg_sort_external.js
# The findAndModify_update_grow.js workload can cause OOM kills on test hosts.
- jstests/concurrency/fsm_workloads/findAndModify_update_grow.js
# Relies on having one thread observe writes from the other threads, which won't become visible
# once a transaction in the thread is started because it'll keep reading from the same snapshot.
- jstests/concurrency/fsm_workloads/create_index_background.js
- jstests/concurrency/fsm_workloads/create_index_background_partial_filter.js
- jstests/concurrency/fsm_workloads/create_index_background_wildcard.js
# Expects reads to die with a particular error, but other errors are possible if the read is part
# of a transaction (e.g. ErrorCodes.LockTimeout).
- jstests/concurrency/fsm_workloads/drop_index_during_replan.js
# Performs direct writes to system.views
- jstests/concurrency/fsm_workloads/view_catalog_direct_system_writes.js
# Extracts error code from write error, which is obscured by runInsideTransaction.
- jstests/concurrency/fsm_workloads/access_collection_in_transaction_after_catalog_changes.js
exclude_with_any_tags:
- does_not_support_causal_consistency
- requires_sharding
# Sharing cursors between state functions will fail in this suite because it will attempt to use
# the same cursor in multiple transactions.
- state_functions_share_cursor
# These start a transaction in one state function and use it in other state functions. This suite
# would instead execute each state function as its own transaction.
- state_functions_share_transaction
# Tests which expect commands to fail and catch the error can cause transactions to abort and
# retry indefinitely.
- catches_command_failures
executor:
archive:
hooks:
- CheckReplDBHashInBackground
- ValidateCollectionsInBackground
- CheckReplDBHash
- ValidateCollections
tests: true
config:
shell_options:
readMode: commands
global_vars:
TestData:
runInsideTransaction: true
runningWithSessions: true
traceExceptions: false
hooks:
# The CheckReplDBHash hook waits until all operations have replicated to and have been applied
# on the secondaries, so we run the ValidateCollections hook after it to ensure we're
# validating the entire contents of the collection.
#
# TODO SERVER-26466: Add CheckReplOplogs hook to the concurrency suite.
- class: CheckReplDBHashInBackground
- class: ValidateCollectionsInBackground
- class: CheckReplDBHash
- class: ValidateCollections
- class: CleanEveryN
n: 1
fixture:
class: ReplicaSetFixture
mongod_options:
oplogSize: 1024
set_parameters:
enableTestCommands: 1
num_nodes: 3
|