Commit Graph

1223 Commits

Author SHA1 Message Date
Esha Maharishi
d13efaa5a6 SERVER-26785 rewrite addshard2.js to be able to unblacklist it from the last_stable suite 2017-01-11 11:48:17 -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
e5b42cc86c SERVER-27582 initialize lastVote properly 2017-01-10 10:57:28 -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
Dianna Hohensee
c7023b7941 SERVER-26828 unblacklist 3.2 incompatibilities in sharding_last_stable_mongos_and_mixed_shards suite 2017-01-04 19:13:37 -05:00
Judah Schvimer
653899b2e9 SERVER-27488 Unblacklist bypass_doc_validation.js in static resync passthrough 2017-01-04 16:16:35 -05:00
Eddie Louie
775acfcc75 SERVER-21205 Remove convert_to_capped_nonexistant.js from
read_concern_majority_passthrough blacklist
2017-01-04 11:00:44 -05:00
Mark Benvenuto
9ba33ad1fb SERVER-16363 Remove all volatile storage types from server source code 2016-12-29 14:55:51 -05:00
James Wahlin
72112a72ec SERVER-27523 blacklist geo_s2cursorlimitskip.js from background initial sync passthru 2016-12-27 13:51:11 -05:00
Max Hirschhorn
396b5eced4 SERVER-20983 Add requirements.txt for resmoke.py. 2016-12-27 13:26:16 -05:00
Dianna Hohensee
1852a78938 SERVER-27349 remove multiversion_override_balancer_control.js, which was only needed for v3.2 compatibility 2016-12-21 10:16:14 -05:00
David Storch
530418b23c SERVER-27446 blacklist operation_latency_histogram.js from background initial sync passthroughs 2016-12-16 15:09:27 -05:00
Max Hirschhorn
eac2ee2812 SERVER-27126 Remove references to "master" in burn_in_tests.py script. 2016-12-16 09:56:56 -05:00
Brian Samek
7f74694a21 SERVER-27441 Reduce spurious failures in Linux package smoke testing
- Ensure that mongod is ready to accept writes before testing
- Re-run converge step because instance may not yet be ready
2016-12-16 09:20:07 -05:00
Eric Milkie
cb40ec2d0a SERVER-26698 fix lint 2016-12-16 09:14:17 -05:00
Kyle Suarez
39bcdc6e6e SERVER-26765 move tests in jstests/views to other suites
This eliminates the views and views_rs suites; views testing will be done in
other suites to allow them to be picked up in passthrough suites.
2016-12-15 16:39:51 -05:00
Kyle Suarez
703678d473 SERVER-25286 rewrite drop2.js to not depend on count scan yield behavior 2016-12-15 16:17:42 -05:00
Eric Milkie
945877550d SERVER-27267 clean up after too_many_fds, and run disk suite serially 2016-12-15 09:04:10 -05:00
Mark Benvenuto
0590b0da70 SERVER-27351 clang_format.py needs to ignore deleted files 2016-12-14 13:33:07 -05:00
Robert Guo
b2bca3948f SERVER-27107 remove or modify tests unrelated to the 3.4->3.6 upgrade path 2016-12-14 11:26:18 -05:00
Robert Guo
b74f90afc1 SERVER-26806 randomly restart initial sync 2016-12-13 18:02:41 -05:00
David Storch
7cf929f256 SERVER-24128 reject embedded null bytes in namespace string parsing 2016-12-09 17:59:52 -05:00
Mark Benvenuto
586ac20773 SERVER-26634 GDB Pretty-Printers and Commands 2016-12-09 17:57:44 -05:00
Kyle Suarez
af3b0c646c SERVER-26765 move views tests into jsCore
Views tests have been moved to jstests/core/views. YAML configurations for
jsCore passthrough suites have been updated to pick up tests in subdirectories
of jstests/core.

Tasks and variants that previously used the --excludeWithAnyTags resmoke flag
now specify task_excluded_tags and variant_excluded_tags, respectively.
2016-12-09 15:35:55 -05:00
Robert Guo
e8a3a9266c SERVER-26523 mark resmoke teardown failures as ServerFailures 2016-12-08 17:04:37 -05:00
Mark Benvenuto
a1454c7f3d SERVER-26634 GDB Pretty-Printers and Commands 2016-12-08 15:52:48 -05:00
Mark Benvenuto
e713fab06d SERVER-27191 hang analyzer should dump lock manager state 2016-12-08 15:15:01 -05:00
Mark Benvenuto
aad88dd01b SERVER-26634 GDB Pretty-Printers and Commands 2016-12-08 15:15:01 -05:00
Charlie Swanson
0bca5d9fc7 SERVER-27042 Stabilize currentop.js and add unit tests for lock state reporting 2016-12-07 12:07:20 -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
Misha Tyulenev
9e2b483d01 SERVER-26283 add tests for balancer shell commands 2016-12-06 10:25:37 -05:00
Robert Guo
8624eb6c52 SERVER-27107 blacklist multikey_paths_downgrade 2016-12-05 17:30:37 -05:00
Max Hirschhorn
93989f1023 SERVER-26445 Make emit() not wait for flush() to complete.
Changes the BufferedHandler to always delegate the actual flushing of
the logs (perhaps via a long-running, blocking network operation) to the
timer thread that's running in the background.
2016-12-05 15:19:53 -05:00
Robert Guo
b80bd55370 SERVER-27107 Update 'last-stable' MongoRunner alias to 3.4 in master branch 2016-12-05 12:12:20 -05:00
Robert Guo
6a8e08ce4c SERVER-25917 add initialsync fuzzer suite 2016-12-02 14:33:43 -05:00
Mark Benvenuto
cd675c9e3d SERVER-15407 Set Thread Name in Windows, Mac OS X, and Linux 2016-12-02 11:45:16 -05:00
Judah Schvimer
e3b83164d1 SERVER-27092 blacklist apply_ops1.js from dynamic initial sync passthroughs 2016-11-29 17:15:51 -05:00
Judah Schvimer
bddb3bee3b SERVER-27206 blacklist tests involving MapReduce from initial sync dynamic passthroughs 2016-11-29 17:15:51 -05:00
Brian Samek
337df95536 SERVER-27140 Linux package smoke testing 2016-11-21 10:56:44 -05:00
Spencer T Brody
8347e322cd SERVER-27053 Don't acknowledge writes if the term has changed. 2016-11-17 16:15:50 -05:00
William Schultz
d7c5c9aaf6 SERVER-26852 Move read concern tests out of noPassthrough
SERVER-26852 Moved readConcern tests out of noPassthrough
2016-11-15 10:26:35 -05:00
David Hows
e85f3bf9c4 SERVER-27014 Disable inmem_full.js 2016-11-15 11:53:57 +11:00
Kaloian Manassiev
07562c2fb0 SERVER-26955 Ensure setFeatureCompatibilityVersion commands support maxTimeMS 2016-11-11 14:21:42 -05:00
Mark Benvenuto
1ff7169ec6 SERVER-26931 Add file:line info to windows hang analyzers 2016-11-11 10:51:01 -05:00
Max Hirschhorn
6359f80037 SERVER-26261 Expose current() and advance() methods on version iterator. 2016-11-09 09:03:44 -05:00
Judah Schvimer
a79c8b6455 SERVER-26553 Log OperationFailures to test fixture in initial sync hooks 2016-11-08 14:14:55 -05:00
Mark Benvenuto
cc32f2cf59 SERVER-26842 dump the go stack traces on hung tools in the hang analyzer 2016-11-04 12:18:02 -04:00
Matt Cotter
90f582cfe6 SERVER-26604 use platform specific versions for multiversion 2016-11-03 10:43:30 -04:00