Commit Graph

104 Commits

Author SHA1 Message Date
Yves Duhem
c30149da2e SERVER-30685 New continuous stepdown hook 2017-09-01 16:38:38 -04:00
Sara Golemon
6e2cc35d6d SERVER-27801 define unique KRB5CCNAME per external_auth test 2017-08-28 11:12:47 -04:00
Robert Guo
b136dbce0f SERVER-19541 supporting connecting to an external cluster in resmoke.py 2017-08-21 10:30:59 -04:00
Nick Zolnierz
91f42e4734 SERVER-29593: Integrate the official JSON Schema test corpus into the unit tests 2017-08-11 11:43:45 -04:00
Robert Guo
4d8d1745c9 SERVER-28636 replace --executor with --suite in resmoke.py 2017-06-22 18:29:34 -04:00
Max Hirschhorn
7c92251d7b SERVER-29560 Remove testcases.py now that it has been split up. 2017-06-21 15:42:33 -04:00
Max Hirschhorn
c57ab42219 SERVER-29560 Split testcases.py module into separate files. 2017-06-14 20:44:52 -04:00
Max Hirschhorn
b353d4f012 SERVER-29560 Change fixtures to be registered automatically. 2017-06-14 20:44:52 -04:00
Max Hirschhorn
b8f6239094 SERVER-29560 Split hooks.py module into separate files.
Also defines a generic Registry metaclass for making class declarations
store a reference to the class along with a name so that they can be
looked up later.
2017-06-14 20:44:52 -04:00
Robert Guo
f3b60130e2 SERVER-25293 log hook testcases only to logkeeper 2017-06-14 19:57:10 -04:00
Kimberly Hou
23f38f73d2 SERVER-26443 clean up error reporting in jstestfuzz_concurrent suite 2017-06-08 12:35:55 -07:00
Yves Duhem
0347baa06a SERVER-29192 Prevent 'silentfail' status for dynamic tests 2017-06-05 14:13:07 -04:00
Spencer T Brody
47aad7d695 SERVER-29433 Improve logging during ReplicaSetFixture initialization 2017-06-02 15:55:04 -04:00
Peter Mauldin
19a48549ee SERVER-24783 resmoke.py now prints running tests when encountering timeouts 2017-06-02 11:09:08 -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
Eddie Louie
50ea467d27 SERVER-29061 Add buildscripts/promote_silent_failures.py script to convert silent
test failures into non-silent test failures
2017-05-30 12:06:39 -04:00
Jonathan Abrahams
b6c1b6b6a9 SERVER-28302 resmoke.py parser should accept files that don't end in .js 2017-05-26 13:59:32 -04:00
Max Hirschhorn
835a13294a SERVER-29008 Set TestData.numTestClients property in resmoke.py.
Forwards the value for resmoke.py's --numClientsPerFixture command line
option to the mongo shell running the test. This enables the fuzzer to
know if there are concurrent clients running the test.
2017-05-16 12:33:32 -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
Jonathan Abrahams
f34a173b12 SERVER-28783 Add buildscripts/combine_reports.py script for combining report.json files 2017-04-24 21:47:10 -04:00
Mark Benvenuto
c776e095ac SERVER-28308 Integrate python linting for IDL into Evergreen 2017-04-18 18:18:26 -04:00
Jonathan Abrahams
abeacd9572 SERVER-28439 Add "silentfail" test status and --reportFailureStatus option to resmoke.py 2017-04-03 11:33:09 -04:00
Yves Duhem
c8a2af0706 SERVER-28477 Resmoke logging refactoring 2017-03-29 10:48:25 -04:00
Eddie Louie
bc5c3286fb SERVER-26224 Add --staggerJobs option to resmoke.py 2017-03-27 16:57:58 -04:00
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