New file: jstests/loadserverscripts.js
This reverts commit 72dcc0b.
…lica set is initially down Renamed _setServers to _seedServers
…lica set is initially down
Remove db/commands/cloud.cpp from file list for mongo.exe.
Implements tests from QA-104 to test db.loadServerScripts()
…e of empty response
This is done rather than enumerating a list of static libraries to include. SERVER-5112 and SERVER-6461
Supports building all build products using _LIBDEPS=_LIBDEPS_OBJS instead of a mix of _LIBDEPS_OBJS and _LIBDEPS_LIBS. Necessitated in the short term by SERVER-6461, and in the long term by SERVER-5112.
… a query can continue
…een deleted, don't update timer
Windows debug build was blowing up at 700, succeeds at 500.
Remove extraneous step in the test that can cause the connection to cache a connection that may end up becoming the new primary when the replica set enters steady state after restart.
On Windows, creating a nested object 1500 levels deep crashes the shell with a stack overflow. This is presumably because of the default stack size of 1 MB on Windows; the default stack size on Linux is 8 MB. So, reduce the nesting level from 1500 to 700 to make the test pass on Windows. This doesn't address the actual stack overflow problem, which also exists on Linux but requires a larger number. Testing with 20000 crashes Linux and Mac OS X with segfaults.
The new way of killing mongod.exe for smokeJs apparently doesn't wait for all child processes to exit, so cleanbb.py would fail to delete files: "WindowsError: [Error 32] The process cannot access the file because it is being used by another process:". Sleep for 5 seconds after terminating the job object to let the processes die.
If you compare string literals, their addresses are compared. This can fail if the compiler decides not to share .data space between string literals with the same values.
and call ElapsedTracker::resetLastTime when we're done sleeping