Commit Graph

50 Commits

Author SHA1 Message Date
Aaron
89efc0b51d in shell, print() produces json output, output is recorded for test to access, assert.soon accepts timeout parameter, timeout to connect to a mongod is now 5 secs MINOR 2009-05-12 11:19:39 -04:00
Aaron
2c2c2df901 fix compile warnings MINOR 2009-05-04 18:45:32 -04:00
Aaron
2409174927 convert some shell util functions to new engine interface 2009-05-04 18:28:13 -04:00
Aaron
57699cdd9c convert some shell functions to new js engine framework 2009-05-04 17:37:02 -04:00
Aaron
de01cc8c1a shell logging when starting / stopping mongo programs MINOR 2009-04-30 12:02:56 -04:00
Eliot Horowitz
391f2f01b6 Shell: mongos stop() fix 2009-04-12 22:19:04 -04:00
Aaron
285103740e close read end of pipe to avoid leaking descriptors MINOR 2009-04-10 14:46:02 -04:00
Aaron
1ebca51c74 print timestamp with process killing failure logs MINOR 2009-04-07 10:32:11 -04:00
eliot
71d9c7af73 some windows fixes 2009-04-06 17:34:29 -04:00
Aaron
aa5309a68b print error description, test timeout MINOR 2009-04-06 16:21:56 -04:00
Aaron
36d3433d4c remove logging about mongo process management 2009-04-06 14:59:07 -04:00
Aaron
38e53ec2ff wait up to a full minute after sending sigkill 2009-04-03 11:55:24 -04:00
Aaron
80de3918c3 sort allocated ports, since linux os doesn't allocate them in sorted order 2009-04-03 11:43:27 -04:00
Aaron
83a1aded10 validate kill call, wait longer for process to die 2009-04-03 11:32:47 -04:00
Aaron
0dd264adb5 compile linux 2009-04-03 11:27:48 -04:00
Aaron
05a8521a68 waitpid return val debug 2009-04-03 11:20:57 -04:00
Aaron
c0089eeae7 wait for process to end even after killing second time 2009-04-03 11:08:32 -04:00
Aaron
652dac2449 more correct process termination check, related debug logging 2009-04-03 10:44:30 -04:00
Aaron
8780ff947f Log warning when shell sees null bytes in mongod output 2009-04-02 15:48:18 -04:00
Aaron
7d97641828 temp sleep log for debugging 2009-04-02 11:13:20 -04:00
Aaron
3dc9982e65 Only sleep extra on sigkill, be sure to stop running mongods at end of each doTest call 2009-04-01 19:51:41 -04:00
Aaron
1fe31cb601 Dynamically allocate ports for use in repl tests 2009-04-01 17:25:47 -04:00
Aaron
dcdcd309dd Increase timeout 2009-03-31 16:46:26 -04:00
Aaron
2821a57dcb sleep to allow os to recover resources of killed process 2009-03-31 14:59:58 -04:00
Eliot Horowitz
93a3c98bf0 show error on Load error 2009-03-29 09:42:44 -04:00
Aaron
6b1613adb6 safer use of dbs map 2009-03-26 15:12:47 -04:00
Aaron
6299748ad4 Allow signal spec for stopMongoProgram 2009-03-12 12:21:07 -04:00
Aaron
fd722b71e0 Remove compiler warning 2009-03-06 13:47:02 -05:00
Aaron
9b3af26cbe Comment 2009-03-06 13:44:38 -05:00
Aaron
d563bf486b Compile other machines 2009-03-06 10:22:32 -05:00
Aaron
abf2d9af37 Comments 2009-03-05 18:53:04 -05:00
Aaron
324e716f2f fork checkpoint 2009-03-05 18:19:43 -05:00
Aaron
0a291f6958 fork checkpoint 2009-03-05 16:06:11 -05:00
Aaron
46e6c6b475 shell fork checkpoint 2009-03-05 00:07:09 -05:00
Aaron
81a684ee5f Massert hack 2009-02-27 10:48:22 -05:00
Aaron
8fc2c86e0a Now can start any 'mongo program' from within mongo shell 2009-02-13 12:01:37 -05:00
Aaron
e4c179c180 Killing the spawned process doesn't widow the pipe -- have to close remote end of the pipe manually 2009-02-13 10:44:35 -05:00
Aaron
c12c7851f9 Log output from spawned mongod instances to stdout 2009-02-12 16:52:34 -05:00
Eliot Horowitz
4ffe0fe3ad windows 2009-02-10 22:11:51 -05:00
Eliot Horowitz
82f5e84538 fix for not having . in path 2009-02-07 10:35:57 -05:00
Aaron
3613577677 Better kill 2009-01-30 15:15:48 -05:00
Aaron
d4ac72577d Kill child mongod instances if killed abruptly 2009-01-30 12:37:46 -05:00
Aaron
ee7c4694ec Get rid of hudson compiler warning 2009-01-29 16:31:58 -05:00
Aaron
011cd2af7d Fix includes for linux 2009-01-29 12:21:58 -05:00
Aaron
dfbacf162d Merge 2009-01-29 11:54:49 -05:00
Aaron
8c926dd74d Add startMongod() and stopMongod() functions to mongo 2009-01-29 11:46:29 -05:00
Eliot Horowitz
b4fdd9d0e8 listFiles 2009-01-29 09:05:46 -05:00
Eliot Horowitz
d5f45b0d52 not need so many v8:: around 2009-01-29 08:57:02 -05:00
Eliot Horowitz
0222a3cae8 bad command line handling 2009-01-28 09:13:55 -05:00
Eliot Horowitz
4ffda5ea25 dbshell 2009-01-26 22:19:15 -05:00