Commit Graph

79 Commits

Author SHA1 Message Date
Kim Tao
ae26079741 SERVER-38147: cap donor migration lock acquisition stalls in the presence of active transactions 2019-01-24 16:37:59 -05:00
Blake Oler
6c5d176168 SERVER-37511 Ensure sessions collection is created in replica set fixture 2018-10-23 11:11:47 -04:00
Max Hirschhorn
e5c39e225e SERVER-35852 Require --shellConnString to use mongodb:// URI scheme. 2018-10-13 19:19:55 -04:00
Jonathan Abrahams
b04cc1e53b SERVER-35852 Convert FSM client to use a resmoke suite for easy test blackisting in backup_restore 2018-10-12 10:37:41 -04:00
Tess Avitabile
f5e7c8f3e8 SERVER-33248 Allow choosing a sync source that we are up to date with if it has a higher lastOpCommitted 2018-08-22 10:41:55 -04:00
Dianna Hohensee
e7c2cbf88b SERVER-36101 Replication should not depend on the presence of lastStableCheckpointTimestamp in status reports to identify recoverable rollback capable nodes 2018-07-25 16:10:42 -04:00
Max Hirschhorn
99d3436094 SERVER-35383 Raise election timeout to 24 hours for stepdown suites. 2018-07-02 11:36:02 -04:00
Jonathan Abrahams
844c1aac8a SERVER-35313 CleanupConcurrencyWorkloads resmoke hook needs to handle the balancer 2018-06-27 21:43:35 -04:00
David Bradford
90a2fd2a17 SERVER-34371: Don't ignore rmtree failures 2018-06-13 12:38:04 -04:00
David Bradford
85d4c70b89 SERVER-34371: log errors from rmtree 2018-06-12 13:28:09 -04:00
Jonathan Abrahams
a218a48674 SERVER-35051 Resmoke should stop the balancer before shutting down sharded clusters 2018-05-18 15:06:28 -04:00
Jonathan Abrahams
d6837a12b3 SERVER-34374 Wrap shutil.rmtree() in resmoke to handle path names which may contain non-ASCII characters 2018-05-11 15:28:16 -04:00
Xiangyu Yao
507631c405 SERVER-34384 Use 5-node linear chain topology for secondary reads passthrough 2018-05-07 19:05:20 -04:00
Robert Guo
39622745cd SERVER-19630 allow FSM tests to connect to an existing cluster 2018-04-30 09:56:57 -04:00
Judah Schvimer
c963ca0e1c SERVER-34635 import pymongo.write_concern in replicaset.py 2018-04-24 16:17:19 -04:00
Judah Schvimer
5aec800d30 SERVER-33165 Don't return from ReplSetTest.initiate until there is a stable checkpoint 2018-04-20 09:54:04 -04:00
Spencer T Brody
a8d662311c SERVER-33759 Forbid replication protocol version 0 2018-04-13 13:52:03 -04:00
Robert Guo
6f1c8ce965 SERVER-34442 Don't allocate new ports when restarting mongos in resmoke.py 2018-04-12 17:34:11 -04:00
Robert Guo
c83e0e9b75 SERVER-34289 fix python lint again 2018-04-12 13:23:27 -04:00
Robert Guo
b4cdb36187 SERVER-34289 fix python lint 2018-04-12 10:05:43 -04:00
Robert Guo
f15c9b5321 SERVER-34289 add new sharded cluster wrapper for connecting to an existing cluster 2018-04-12 09:19:28 -04:00
Jonathan Abrahams
c50c68fef1 SERVER-23312 Python linting - Lint using pylint, pydocstyle & mypy 2018-04-05 14:41:58 -04:00
Jonathan Abrahams
36148ad8bb SERVER-23312 Format Python files with yapf 2018-03-26 13:04:25 -04:00
Yves Duhem
6618ad3025 SERVER-33396 Update fixture teardown to throw ServerFailure 2018-03-02 12:14:51 -05:00
Max Hirschhorn
e25af89eaa SERVER-33504 Add test suite for resmoke.py logging performance.
Runs a configurable number of "yes" processes for the specified amount
of time (in seconds).
2018-02-28 17:52:53 -05:00
Vesselina Ratcheva
fdfce7f6c2 SERVER-32143 Remove test coverage for master-slave 2018-02-21 10:38:49 -05:00
Eddie Louie
8865f48da8 SERVER-32888 Set a default oplog size for replica sets started by resmoke.py 2018-02-14 12:42:27 -05:00
Jonathan Abrahams
9fd34c78b7 SERVER-31562 Archival for test failures from suites not using a resmoke fixture 2018-02-14 11:38:17 -05:00
Jonathan Abrahams
4cc459b6ee SERVER-26884 Support archiving data files in Evergreen on test failure 2018-02-08 12:19:04 -05:00
Max Hirschhorn
264d971842 SERVER-32691 Add write_concern_majority_passthrough.yml test suite.
Also adds support for using replica set connection strings in resmoke.py
without making all nodes electable.
2018-01-30 19:45:42 -05:00
Robert Guo
0aeb5ce7e8 SERVER-32468 Use a 1-node CSRS in non-stepdown sharding passthroughs tests 2018-01-26 11:19:25 -05:00
Judah Schvimer
6a1e6fe87e SERVER-30642 Raise election timeouts in python fixtures 2018-01-23 10:36:37 -05:00
Charlie Swanson
87c9442cc3 SERVER-31785 Use 2 shards in sharded jscore passthrough. 2018-01-19 09:55:59 -05:00
Kevin Albertson
af6bd1d39b SERVER-31670 fixture secondary defaults to 0 votes 2018-01-08 10:06:16 -05:00
Max Hirschhorn
26279e8695 SERVER-30979 Run the fuzzer with CSRS primary stepdowns. 2017-12-01 10:20:32 -05:00
samantharitter
45d35fe3fc SERVER-31184 Make servers automatically set up config.system.sessions 2017-10-11 00:52:09 -04:00
Yves Duhem
c31e309846 SERVER-30684 Add configsvr and shard options to ShardedClusterFixture 2017-09-01 17:46:39 -04:00
Yves Duhem
2f6a2294fe SERVER-30683 Support failovers in ReplicaSetFixture 2017-09-01 17:41:35 -04:00
Robert Guo
b136dbce0f SERVER-19541 supporting connecting to an external cluster in resmoke.py 2017-08-21 10:30:59 -04:00
Max Hirschhorn
b353d4f012 SERVER-29560 Change fixtures to be registered automatically. 2017-06-14 20:44:52 -04:00
Spencer T Brody
47aad7d695 SERVER-29433 Improve logging during ReplicaSetFixture initialization 2017-06-02 15:55:04 -04:00
Cristopher Stauffer
cb31bfd735 SERVER-26027: Updating log statement to include exit code on tear down in situations where process already stopped 2017-05-31 10:26:08 -04:00
Max Hirschhorn
a4d2c52dba SERVER-28991 Eliminate having an AlarmClock thread for each test.
Changes resmoke.py to use its FlushThread for managing all calls to
flush() buildlogger handlers.
2017-05-16 12:10:14 -04:00
Misha Tyulenev
2c18910e75 SERVER-28968: Add causal consistent passthrough suite 2017-05-05 21:34:09 -04:00
Yves Duhem
c8a2af0706 SERVER-28477 Resmoke logging refactoring 2017-03-29 10:48:25 -04:00
Robert Guo
761a96d3fc SERVER-27854 initiate replicasets faster in resmoke.py 2017-03-14 13:28:29 -04:00
Spencer Jackson
957549cd11 SERVER-27570: Enforce stricter checks on top level command BSON objects 2017-03-08 09:28:29 -05:00
Max Hirschhorn
07f5d15330 SERVER-27285 Run jsCore tests while periodically killing secondaries.
Adds a new core_small_oplog_rs_kill_secondaries.yml suite that after
running tests for a certain period of time (defaults to 30 seconds),
resmoke.py will send a SIGKILL to all of the replica set's secondaries.
Each node is then restarted individually with the primary disabled to
verify it reaches the SECONDARY state within 5 minutes of starting up.
2017-01-30 20:33:17 -05:00
Judah Schvimer
9710251a20 SERVER-27551 added retries to replSetInitiate call in python test fixture 2017-01-24 17:27:52 -05:00
Andy Schwerin
cdc7af4c6d SERVER-27490 Stop consulting storage engine isDurable flag in ReplicationCoordinatorImpl
... and simplify ReplCoordTestFixture

ReplicationCoordinatorImpl consults the storage engine's isDurable flag for two purposes:

1. To choose whether to present the durable or applied optime when standing for
election in pv1

2. To decide how to interpret w:majority without an explicit j field when
waiting for write concern.

In the first case, it is unnecessary to choose which optime to apply based on
the isDurable flag. It is always safe and correct to present the applied optime,
because if the node presenting it wins election, it will attempt to commit that
applied optime. That means that voters may safely vote for that node.

In the second case, using the value of the local node's storage engine's
isDurable flag to adjust the meaning of w:majority is out of spec. Whether
w:majority writes wait for journaling is a function only of the
writeConcernMajorityJournalDefault flag when a write concern omits the "j"
field.

This patch removes the unnecessary consultation of the isDurable flag, and
uses the opportunity to simplify the constructor of
ReplicationCoordinatorImpl and its test fixture.
2017-01-07 15:08:22 -05:00