Commit Graph

79 Commits

Author SHA1 Message Date
Max Hirschhorn
66188320dc SERVER-21539 Release TestReport._lock when recomputing stats. 2017-03-20 13:56:53 -04:00
Robert Guo
761a96d3fc SERVER-27854 initiate replicasets faster in resmoke.py 2017-03-14 13:28:29 -04:00
Max Hirschhorn
83f31ef26e SERVER-21539 Write report.json file when resmoke.py receives a SIGUSR1. 2017-03-09 13:06:29 -05:00
Spencer Jackson
957549cd11 SERVER-27570: Enforce stricter checks on top level command BSON objects 2017-03-08 09:28:29 -05:00
Robert Guo
6ec5d44bc3 SERVER-27158 teardown_flag does not exist except for the final iteration 2017-02-23 17:43:28 -05:00
Robert Guo
18be5b3302 SERVER-27158 shutdown fixtures when a job finishes 2017-02-22 10:34:47 -05:00
Max Hirschhorn
e02c3c769b SERVER-27285 Fix exception handling in PeriodicKillSecondaries.
The exception needs a name in order to access its 'args' attribute.
2017-02-01 17:12:17 -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
Robert Guo
8478c3b4f7 SERVER-22348 propagate binary paths from resmoke to MongoRunner 2017-01-10 11:13:47 -05:00
Robert Guo
d4a7012d56 SERVER-26485 ensure JS hooks always have a logger 2017-01-10 11:13:47 -05:00
Judah Schvimer
585a8a9cb8 SERVER-26522 Made CleanEveryN into a TestCase 2017-01-10 09:53:58 -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
Robert Guo
b74f90afc1 SERVER-26806 randomly restart initial sync 2016-12-13 18:02:41 -05:00
Robert Guo
e8a3a9266c SERVER-26523 mark resmoke teardown failures as ServerFailures 2016-12-08 17:04:37 -05:00
Spencer T Brody
ccc7e32094 SERVER-26754 Disallow read concern majority reads with protocol version 0.
This reverts commit 3349bcb22a from SERVER-26754
2016-12-07 10:59:09 -05:00
Robert Guo
6a8e08ce4c SERVER-25917 add initialsync fuzzer suite 2016-12-02 14:33:43 -05:00
Judah Schvimer
a79c8b6455 SERVER-26553 Log OperationFailures to test fixture in initial sync hooks 2016-11-08 14:14:55 -05:00
Spencer T Brody
3349bcb22a SERVER-26754 Allow readConcern majority reads with protocol version 0 2016-10-25 18:37:42 -04:00
Robert Guo
240a12e251 SERVER-26516 resmoke should wait for initsync node to be in SECONDARY state before running tests 2016-10-14 10:11:54 -04:00
Judah Schvimer
2b116377bb SERVER-26390 Use fixture logger in initial sync passthroughs 2016-10-05 18:04:58 -04:00
Jonathan Abrahams
d4b173439a SERVER-25376 Add checkOplog hook for replica sets 2016-09-30 16:25:50 -04:00
Robert Guo
147ad2bd82 Revert "SERVER-25917 add initialsync fuzzer suite"
This reverts commit 95d0f75423.
2016-09-28 10:16:16 -04:00
Robert Guo
95d0f75423 SERVER-25917 add initialsync fuzzer suite 2016-09-27 09:55:58 -04:00
Judah Schvimer
5f40282b37 SERVER-25068 Add passthrough hook to include periodic initial sync members 2016-09-13 10:06:25 -04:00
Eddie Louie
90353265fa SERVER-25127 Remove unused class definition TypeSensitiveSON 2016-09-08 16:48:14 -04:00
Judah Schvimer
63640ef8a5 SERVER-25252 create static initial sync passthrough that uses resync to restart initial sync 2016-09-02 11:45:19 -04:00
Kyle Suarez
7486388e02 SERVER-25768 skip hooks in fuzzer suites when invalid views present
Skips the validate and dbhash hooks for jstestfuzz* suites when listCollections
fails with an InvalidViewDefinition error.
2016-08-24 17:39:00 -04:00
Esha Maharishi
3daf1fb89b SERVER-25543 add shardsvr startup option for shards in ShardedClusterFixture 2016-08-10 15:53:04 -04:00
Judah Schvimer
43ab2d9e0b SERVER-25399 Disable chaining in initial sync static passthrough 2016-08-09 13:19:12 -04:00
iwysiu
0c9a7a497a SERVER-24729 stagger the launching of resmoke jobs 2016-07-20 12:15:14 -04:00
Robert Guo
b9b133f4d7 SERVER-24966 call testcase.configure only once 2016-07-19 17:28:22 -04:00
Judah Schvimer
433ffe0574 SERVER-24538 Add small_oplog_rs_initsync_static passthrough to include periodic initial sync members 2016-07-19 09:44:37 -04:00
Mike Grundy
f18bb78b46 SERVER-24716 Remove the CheckReplDBHashDeprecated hook 2016-07-13 14:54:39 -04:00
Jonathan Abrahams
6aab151144 SERVER-24925 add raw_url field to resmoke report 2016-07-11 16:01:48 -04:00
Robert Guo
598b6fa7c2 SERVER-24923 TypeError when running unittests 2016-07-06 13:40:19 -04:00
iwysiu
3d13237880 SERVER-24884 syntax adjustments 2016-07-05 12:38:55 -04:00
iwysiu
07546d8657 SERVER-24884 change resmoke so after test hooks only run once 2016-07-05 11:59:39 -04:00
iwysiu
76fb4530a1 SERVER-24328 modify resmoke for concurrent testcases 2016-07-01 11:52:15 -04:00
Robert Guo
4c0336f5b0 SERVER-23226 port CheckReplDBHash hook to jS 2016-06-22 11:11:01 -04:00
Mike Grundy
7af6573341 SERVER-24537 Create a new and modified test running task 2016-06-15 16:50:15 -04:00
iwysiu
8878d6e30d SERVER-24535 modify testcases.py to work with concurrent fuzzing 2016-06-13 16:53:14 -04:00
Kaloian Manassiev
d900c3b855 SERVER-23733 Remove the mongos chunkSize startup option
This change removes the chunkSize startup option from mongos in place of
the 'chunksize' setting.
2016-06-02 13:39:33 +03:00
Robert Guo
f2f6163b0b SERVER-22860 allow resmoke.py to run JS hooks 2016-05-18 13:47:18 -04:00
Mike Grundy
e7e0ef104b SERVER-22198 resmoke.py should obey order of tests specified via command line 2016-04-28 09:58:31 -04:00
Scott Hernandez
f88e2487ba SERVER-22533: correct tests for writeConcern majority + journal behaviors 2016-03-27 11:45:02 -04:00
Robert Guo
ab811bfec9 SERVER-22776 Dump oplog on CheckReplDBHash failure 2016-02-23 18:59:43 -05:00
Robert Guo
3bf4d50da8 SERVER-22806 CheckReplDBHash hook should fsync first 2016-02-23 17:40:06 -05:00
Mike Grundy
a8c2e2c267 SERVER-21990 Deprecation warning from resmoke.py - replicaset.py insert is deprecated 2016-01-25 13:55:38 -05:00
Mike Grundy
ca39291d73 SERVER-21801 CheckReplDBHash testing hook should check document type (resmoke.py) 2016-01-22 11:43:24 -05:00