Files
mongo/buildscripts/resmokeconfig/suites/jstestfuzz_replication_write_conflicts.yml
Damian Wasilewicz 74d83ccb02 SERVER-92928: Add CheckReplDBHash and CheckReplOplogs to jstestfuzz_replication_write_conflicts.yml (#25413)
GitOrigin-RevId: f59b6bbf1ff8d3c9ee0378154cd9375a761d2503
2024-07-29 19:10:24 +00:00

50 lines
1.4 KiB
YAML

test_kind: js_test
selector:
roots:
- jstestfuzz/out/*.js
executor:
archive:
hooks:
- CheckReplOplogs
- CheckReplDBHash
- ValidateCollections
config:
shell_options:
crashOnInvalidBSONError: ""
objcheck: ""
hooks:
- class: EnableSpuriousWriteConflicts
shell_options:
global_vars:
TestData:
WTWriteConflictExceptionChance: 0.001
WTWriteConflictExceptionForReadsChance: 0.001
- class: FuzzerRestoreSettings
- class: CheckReplOplogs
# 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.
- class: CheckReplDBHash
shell_options:
global_vars:
TestData:
skipValidationOnInvalidViewDefinitions: true
- class: ValidateCollections
shell_options:
global_vars:
TestData:
skipValidationOnInvalidViewDefinitions: true
skipValidationOnNamespaceNotFound: false
fixture:
class: ReplicaSetFixture
mongod_options:
set_parameters:
disableLogicalSessionCacheRefresh: false
enableTestCommands: 1
transactionLifetimeLimitSeconds: 1
writePeriodicNoops: 1
verbose: ""
num_nodes: 2