Spencer T Brody
440ea57039
SERVER-4237 Skip tests that use benchRun when running with auth
2012-08-01 15:27:52 -04:00
Tad Marshall
1abe1c5943
For Windows, add delay after killing BuildLogger job object
...
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.
2012-07-16 14:31:38 -04:00
Eliot Horowitz
5665ee8b85
windows unit test - this works on some machines at least it seems
2012-07-14 07:54:49 -04:00
Eliot Horowitz
e84a8331d9
try to fix running unit tests on windows
2012-07-14 01:59:25 -04:00
Greg Studer
479b5b9d96
add multiVersion test suite to smoke.py
2012-07-13 13:18:22 -04:00
Dan Crosta
fa1b2db53a
smoke.py: dont add extra command line args to explicit commands
2012-07-13 12:38:49 -04:00
Eric Milkie
e185fe25c2
Fix Windows process termination with new JobObjects
2012-07-12 16:02:38 -04:00
Dan Crosta
3f2b168bcd
smoke.py: don't fail if no tests specified
2012-07-11 09:23:25 -04:00
Spencer T Brody
781f22c175
Don't run tests with auth that we know will fail. SERVER-4254 SERVER-6327 SERVER-6368 SERVER-4237
2012-07-10 19:43:20 -03:00
Dan Crosta
455986e93d
smoke.py: run cleanbb before each test phase
2012-07-10 11:40:48 -04:00
Dan Crosta
a6989ade62
allow db modules to declare scripts that are run as a test suite
2012-07-10 11:13:00 -04:00
Dan Crosta
fd8e1c9fa7
smoke.py: use JobObjects to control child mongods on windows
2012-07-10 11:07:48 -04:00
Dan Crosta
c4623a61c0
set_globals() now takes a second arg, list of test filenames/suites
2012-07-06 16:45:24 -04:00
Spencer T Brody
da0e72a100
SERVER-4237 Don't run client suite with authentication
2012-07-06 13:41:32 -04:00
Dan Crosta
09f05b4e72
SERVER-4237: use a default for --keyFile if only --auth was given to smoke.py
2012-07-05 13:41:12 -04:00
Spencer T Brody
e104c3d1fa
SERVER-4237 When running tests with auth, skip tests that run with auth normally
2012-07-03 18:00:07 -04:00
Kristina
8c5c4ce733
Fix recently failing test build
...
Previous test failures didn't put small_oplog_rs in
failfile.smoke so it wasn't loaded as an attr in the
options obj.
2012-06-12 17:29:06 -04:00
Kristina
43a21549e7
Added --small-oplog-rs option
2012-06-12 15:45:55 -04:00
Dan Crosta
b61345ee90
SERVER-5998: add smokeCppUnittests target to SCons & smoke.py
2012-06-05 12:58:08 -04:00
Eliot Horowitz
7479fc37f2
fix buildbot phase xfer
2012-05-25 15:05:07 -04:00
Andy Schwerin
229931979f
Treat now-deleted tests as passed when using smoke.py to test prior failures.
...
Since the authoritative list of tests is just the list of files present in the
various test directories, deleting a file means that a test is no longer relevant.
If it used to be in the "failed" state, smoking old failures should treat the file's
absence as a sign that it doesn't matter any more, not as a repeat of the failure.
2012-05-24 13:34:37 -04:00
Dan Crosta
71f9205daf
BUILDBOT-132 add smoke.py command line args for invoking buildlogger
...
new/added usage:
smoke.py --buildlogger-builder <builder name> \
--buildlogger-buildnum <build number> \
--buildlogger-credentials /path/to/pyfile.py
The credentials file must define "username" and "password" strings which
contain a valid set of authentication credentials for buildlogger.
2012-05-24 09:55:14 -04:00
U-tellus\cwestin
54f86fa31d
SERVER-4504 minor changes from code review
2012-05-21 12:40:39 -07:00
U-tellus\cwestin
c13ff660e6
SERVER-4504 aggregation explain implementation
2012-05-21 12:40:38 -07:00
Eliot Horowitz
68874e89a8
some suite config refactoring for emr
2012-05-11 13:56:52 -04:00
Eric Milkie
b9f721a6f4
enumerate(x,1) not supported on older Pythons
2012-05-02 20:10:20 -04:00
Eric Milkie
15386cca10
start the tests_run counting at 1 instead of 0, since we restart mod 20
2012-05-02 13:42:50 -04:00
Eric Milkie
edef030513
better way to count number of tests run
2012-05-02 09:36:17 -04:00
Eric Milkie
7c50f4320f
SERVER-5244 restart mongod periodically during tests
...
The 32-bit Windows builder runs out of virtual address space
before it reaches the end of the js test suite. This change will
help it to complete successfully. Note that smalloplog suite,
which tests how well replication works after all the js tests have run,
is unaffected by this. The buildbot config will be changed such that
32-bit machines no longer run the small oplog suite.
2012-04-30 14:43:50 -04:00
Eliot Horowitz
9db4857586
don't start a mongod for slowWeekly
2012-04-08 23:39:22 -04:00
Dan Crosta
0d44f42712
BUILDBOT-106 include date in buildbot's log view when buildlogger is on
2012-04-02 14:10:48 -04:00
Dan Crosta
41db66ef99
add buildlogger (separate test output)
2012-03-23 15:47:30 -04:00
Dan Crosta
b413701c48
SERVER-4994 use normpath() for correct behavior on windows
2012-02-29 20:24:03 -05:00
Dan Crosta
fffbfc7564
SERVER-5102: is a tuple, we care about the first part
2012-02-28 15:25:30 -05:00
Dan Crosta
28da771d64
SERVER 5102: try to avoid tests we can't safely run
...
in buildbot builds, we know that we can (probably) run any .js file, as
well as test or test.exe, which will have been built by "compile" phase.
2012-02-28 14:16:13 -05:00
Spencer T Brody
78c281f3c4
Buildbot - don't try to create admin user twice.
2012-02-24 16:34:11 -05:00
Dan Crosta
ca3315fe17
SERVER-5071: in smoke.py close failfile before deleting it
2012-02-24 16:17:36 -05:00
Dan Crosta
9848a9cb4e
roll back my previous change
2012-02-02 16:44:26 -05:00
Dan Crosta
4939423b95
fail a build if cleanbb.py cannot be run
2012-02-02 15:56:01 -05:00
Eliot Horowitz
3d908b6b00
smoke db port was conflicting with other tests
2012-02-02 02:16:19 -05:00
Eric Milkie
a9d08260ab
slightly smaller small oplog
...
On 32-bit platforms, specifying a 512 MB oplog causes an assert when
mongod attempts to allocate an extent that is larger than the
preallocated file size
2012-01-26 09:26:42 -05:00
Eric Milkie
df532033b1
Fixing smoke.py enter/exit semantics for "with" replacement
2012-01-25 13:49:52 -05:00
Eric Milkie
585ebf9f68
remove all the with's and ternary if's, not supported in Python 2.4
2012-01-25 12:26:11 -05:00
Eliot Horowitz
31f7a4d34c
increase oplog size
2012-01-25 09:47:50 -05:00
Eliot Horowitz
d9b74dc7cf
really fix smoke.py...
2012-01-24 00:14:53 -05:00
Eliot Horowitz
6a4d7740f6
fix python smoke
2012-01-24 00:00:17 -05:00
Eliot Horowitz
6c269ae42a
make smoke.py work on older versions
2012-01-23 23:27:06 -05:00
Dan Crosta
be40a5eac1
BUILDBOT-84: add aggregation test suite
2012-01-23 14:06:09 -08:00
Eric Milkie
ed6e62e4ed
make TestData actually work on Windows
2012-01-06 15:07:48 -05:00
Eric Milkie
c93e6d5201
support mongos test on windows
2012-01-04 16:33:11 -05:00