Commit Graph

125 Commits

Author SHA1 Message Date
Charlie Swanson
c15f4bb96d SERVER-18272 Update jstests to use allocatePort() instead of hard coding ports 2015-09-09 13:14:48 -04:00
Max Hirschhorn
dd0c8d73aa SERVER-18868 Check the exit code of the parallel shell.
By default the await function returned by startParallelShell() asserts
that the exit code is zero.
2015-06-23 22:22:52 -04:00
Kaloian Manassiev
9cf89ce4f4 SERVER-18201 Fix a missed variable declaration
This fails the test, because it is declared to 'use strict'
2015-04-24 16:07:56 -04:00
Kaloian Manassiev
4370f71f9f SERVER-18201 Explicitly pass the port to the test shell
While at it, I also put the test into a function so it doesn't change
global variables.
2015-04-24 14:54:52 -04:00
Spencer T Brody
8b75280296 SERVER-17971 Make ShardingTest start single-server config servers as replica sets 2015-04-23 14:30:19 -04:00
David Storch
374438c913 SERVER-17718 deprecate showDiskLoc()
The showDiskLoc() shell helper is now an alias for showRecordId(). The server still
accepts $showDiskLoc for OP_QUERY style find operations. For find command, the showDiskLoc
argument has been renamed to showRecordId.

Also renames the $diskLoc field returned in the resulting documents to $recordId. Unlike
$diskLoc, the $recordId field reports a single 64 bit integer rather than separately reporting the
high-order 32 bits and low-order 32 bits, which have MMAPv1-specific meaning of file and offset.
2015-04-09 16:43:49 -04:00
Spencer T Brody
6ccb82c987 SERVER-17450 Standardize on a single way to start mongod in tests 2015-04-06 18:19:21 -04:00
Siyuan Zhou
2c6ab1eaae SERVER-17652 Only run too_many_fds.js on 64-bit builds. 2015-03-19 16:40:28 -04:00
Eric Milkie
b9b1c95520 SERVER-17652 open sockets before initializing storage engine 2015-03-19 15:01:41 -04:00
Spencer Jackson
ef90d94b2d SERVER-16875: Add disk jstests for directoryperdb with wiredtiger 2015-01-15 15:06:36 -05:00
Eric Milkie
c887b101db SERVER-16734 remove checkpointDelaySecs and use syncPeriodSecs instead 2015-01-08 14:55:28 -05:00
Kaloian Manassiev
47b931ab41 SERVER-16711 Fix failing disk/diskfull.js suite 2015-01-07 15:04:37 -05:00
Scott Hernandez
8384c878b5 SERVER-16502: make getCollection const and not require an OpContext 2015-01-02 14:21:08 -05:00
Spencer Jackson
d9ac3cfb45 SERVER-16615: Fix mmapv1 repairDatabase for long db paths 2014-12-29 13:28:26 -05:00
Dan Pasette
1f5fd1a3a4 SERVER-16313 skip syncDelay option test on 32 bit platforms 2014-12-17 21:32:11 -05:00
Eric Milkie
d9a10c7f8b SERVER-16313 whitelist of storage options for WiredTiger 2014-12-17 18:22:24 -05:00
Kaloian Manassiev
f56ea73672 SERVER-15269 db.shutdownServer terminates JS execution cleanly 2014-11-21 13:37:02 -05:00
Benety Goh
72975ae905 SERVER-15557 added "Storage options" section in --help output.
migraged dotted names of mmapv1 options from "storage" to "storage.mmapv1"
                 storage.mmapv1.directoryPerDB
                 storage.mmapv1.journal.commitIntervalMs
                 storage.mmapv1.journal.debugFlags
                 storage.mmapv1.nsSize
                 storage.mmapv1.preallocDataFiles
                 storage.mmapv1.quota.enforced
                 storage.mmapv1.quota.maxFilesPerDB
                 storage.mmapv1.smallFiles
                 storage.mmapv1.syncPeriodSecs
             dotted names (without the ".mmapv1" component) of mmapv1 options before migration
                 will still be accepted but a warning will be raised at startup.
2014-11-03 15:07:06 -05:00
Benety Goh
cacbfa2f82 SERVER-5520 do not check exit code when running mongod --repair in test 2014-10-16 10:14:43 -04:00
Kaloian Manassiev
7257da6cab SERVER-14243 Fix the MMAP V1 file allocation logic
* Adds a failpoint and updates the disk full error handling.
* Updated the failing diskfull.js
2014-10-10 09:40:21 -04:00
Benety Goh
b95adf31a0 SERVER-15547 removed tests that rely on tools --dbpath option 2014-10-07 19:49:27 -04:00
Kaloian Manassiev
6f413c78ad SERVER-14668 Move top-level locks (Global and Commit) to the Lock Manager
o Adds the global and flush lock resources and begin/end transaction calls
to delimit where lock acquisition would start and end.

o Gets rid of the QLock and changes durability to use a single flush
thread, which is activated when commit is requested.
2014-09-16 12:31:36 -04:00
Veres Lajos
a98f839cf9 SERVER-9634 typo fixes
Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
2014-06-09 23:43:00 -04:00
Randolph Tan
0dabee8227 SERVER-13741 Migrate remaining tests to use write commands 2014-05-15 14:04:11 -04:00
Shaun Verch
a503b4b57e SERVER-13439 Make sure values explicitly set to false in config file show up in parsed result 2014-05-13 17:08:50 -04:00
David Storch
7238072660 Revert "SERVER-13741 Migrate remaining tests to use write commands"
This reverts commit 87dc3ae516.
2014-05-06 19:00:56 -04:00
Randolph Tan
87dc3ae516 SERVER-13741 Migrate remaining tests to use write commands 2014-05-06 16:32:44 -04:00
Shaun Verch
f7d78f9511 SERVER-13603 Move option testing support code into shared test helper 2014-04-22 15:15:59 -04:00
Shaun Verch
8d7e71c8c0 SERVER-13379 Canonicalize noIndexBuildRetry as storage.indexBuildRetry 2014-03-28 13:46:54 -04:00
Shaun Verch
c5f52ad447 SERVER-13379 Canonicalize noprealloc as storage.preallocDataFiles 2014-03-28 13:46:54 -04:00
Dan Pasette
a56fff30fb SERVER-12409 db.coll.remove() shell helper requires a query predicate 2014-02-05 18:07:02 -05:00
Benety Goh
6b7d6962a9 SERVER-11462 use base name in tests where verifying filenames. also added base name to listFiles() result 2013-11-01 14:24:04 -04:00
Benety Goh
2e10439eba SERVER-9579 fixed dbpath prefix for all smoke tests that start (multiple) mongod processes through the mongo shell 2013-10-29 13:11:41 -04:00
Andy Schwerin
31d759f0fc SERVER-11051 Ignore non-existent databases reported by listDatabases in disk/preallocate.js 2013-10-06 11:04:03 -04:00
Andy Schwerin
8aaf9fa86a SERVER-11051 Ignore non-existent databases reported by listDatabases in disk/newcollection.js. 2013-10-05 20:54:59 -04:00
Shaun Verch
6fc951d492 SERVER-8510 Get rid of CmdLine struct and use new option handling style 2013-10-04 16:58:54 -04:00
Eliot Horowitz
52c2a3a99c SERVER-6405: we shouldn't over pre-allocate from a createCollection 2013-08-02 09:33:16 -04:00
A. Jesse Jiryu Davis
c481eb4987 More reliable test for SERVER-7430
Signed-off-by: Ian Whalen <ian.whalen@gmail.com>
2013-03-18 13:51:40 -04:00
A. Jesse Jiryu Davis
1039ebd0cb Disable test on 32-bit builds SERVER-7430
Signed-off-by: Ian Whalen <ian.whalen@gmail.com>
2013-03-13 14:18:31 -04:00
A. Jesse Jiryu Davis
ea0e9f0ae1 Include filename in warning about smallfiles SERVER-7430
Log message is like "info openExisting file size 16777216 but cmdLine.smallfiles=false: /data/db/filesize/dbname.0"

Signed-off-by: Ian Whalen <ian.whalen@gmail.com>
2013-03-13 10:52:08 -04:00
Eliot Horowitz
85355c5212 SERVER-7451 - fix disk full test error checking 2012-12-18 11:10:02 -05:00
Kristina
aa08b13e69 SERVER-4295 List index build info in currentOp 2012-12-12 13:26:02 -05:00
Ben Becker
43c63c1a94 SERVER-7451: fix js tests that use getDBs().totalSize 2012-12-10 17:02:17 -08:00
Spencer T Brody
9f6d290ba2 SERVER-4237 Make disk/repair5.js use startMongodTest instead of startMongoProgram so running with auth works 2012-10-05 17:25:51 -04:00
Spencer T Brody
f0748473db SERVER-4237 Make directoryperdb.js use startMongodTest instead of startMongoProgram so running with auth works 2012-09-28 16:21:13 -04:00
Eliot Horowitz
bf20c28c9b try to make test a little more reliable 2012-03-26 19:42:16 -04:00
Mathias Stearn
7b79d3b193 Disable journaling for disk/diskfull.js. SERVER-4557
journal diskfull tested in seporate test
2012-02-21 17:48:59 -05:00
Aaron
1bd602c744 SERVER-1818 additional comments for disk/killall test 2012-02-21 09:50:07 -08:00
Andy Schwerin
2cd084da70 SERVER-4872: Fix the killall unit test, and make it more robust.
The test now has a little more documentation about what it does, and is a little
more rigorous about checking that it has succeeded.
2012-02-16 12:54:13 -05:00
Eric Milkie
181d52addd make test pass on Windows 2012-01-03 11:18:32 -05:00