0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
Commit Graph

247 Commits

Author SHA1 Message Date
Aaron
a5969ca86b convert clonecolletion.js test to use spawned shells instead of fork() 2009-05-15 16:24:26 -04:00
Aaron
d0122e2e1a add ability to spawn a shell from shell 2009-05-15 14:55:18 -04:00
Eliot Horowitz
2db1e0ca72 Merge branch 'smshell'
Conflicts:
	jstests/count.js
	scripting/engine_spidermonkey.cpp
2009-05-15 13:10:55 -04:00
Eliot Horowitz
540f479a90 make assert.eq better 2009-05-15 13:03:03 -04:00
Aaron
16d763737d kill spawned mongo processes on synchronous os signal 2009-05-15 11:07:43 -04:00
Aaron
cb97e39f0f cleanup externalSetup modes MINOR 2009-05-15 10:48:14 -04:00
Eliot Horowitz
7030e2b584 Merge branch 'smshell' of git@github.com:mongodb/mongo into smshell 2009-05-14 17:37:48 -04:00
Eliot Horowitz
6a06a6cb3c print shell stuff 2009-05-14 17:37:21 -04:00
Aaron
df9fe97f79 don't exec jsconcatcode for forked contexts, not sure why this is a problem 2009-05-14 17:32:07 -04:00
Eliot Horowitz
c6eaf9c500 fix _id 2009-05-14 16:39:10 -04:00
Eliot Horowitz
c3c8e9238e Merge branch 'smshell' of git@github.com:mongodb/mongo into smshell 2009-05-14 15:16:29 -04:00
Aaron
0edca05e15 port fork() to spidermonkey 2009-05-14 14:40:08 -04:00
Eliot Horowitz
fe9e174bde Math.sigFig 2009-05-14 13:32:14 -04:00
Aaron
c232600f16 set up mongo program scope; debugging MINOR 2009-05-14 13:19:45 -04:00
Aaron
397e5b13e8 port remaining shell util functions except for fork 2009-05-14 11:42:52 -04:00
Aaron
01f3e49668 port quit and allocatePorts 2009-05-14 10:58:28 -04:00
Eliot Horowitz
67d9c8bbde smshell: more utils working, some other fixes 2009-05-13 23:15:59 -04:00
Eliot Horowitz
7ce30a5699 smshell: almost done 2009-05-13 17:53:41 -04:00
Eliot Horowitz
4bf96beb17 Spider Monkey Shell: another checkpoint 2009-05-13 17:27:45 -04:00
Aaron
101f01c591 10 sec timeout to connect to mongod, in case machine is busy MINOR 2009-05-13 17:02:15 -04:00
Eliot Horowitz
18c01987a2 checkpoint for smshell - working except for db 2009-05-13 17:00:02 -04:00
Aaron
cf158ca29a run pair4.js mongod programs in very verbose mode MINOR 2009-05-13 14:54:32 -04:00
Eliot Horowitz
0c65c4a3e2 cached version for visual studio MINOR 2009-05-13 11:19:11 -04:00
Aaron
7e0f926ab9 remove empty dbpath command MINOR 2009-05-12 13:38:05 -04:00
Aaron
a0cffeed61 add emptyDbpath command MINOR 2009-05-12 12:12:00 -04:00
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
60ea7cc443 count() in shell takes query 2009-05-11 16:38:15 -04:00
Aaron
bafb23302e merge 2009-05-11 10:50:15 -04:00
Aaron
169f69acee track seen objects in next(), not hasNext() in shell MINOR 2009-05-11 10:46:19 -04:00
Eliot Horowitz
b59cea1ce6 object enumeration fix 2009-05-08 16:57:51 -04:00
Eliot Horowitz
f31e2284e3 remove keySet until i figure out how to do it nicely MINOR 2009-05-06 17:35:52 -04:00
Eliot Horowitz
c4c89013e6 Spider Monkey: insert, jni(1|2|3) work 2009-05-06 16:01:41 -04:00
Eliot Horowitz
8e0ff9805a Spider Monkey: udpate working, other db.eval things 2009-05-06 15:30:05 -04:00
Eliot Horowitz
c83226a08e Spider Monkey: cursor working, find almost done - some refactoring 2009-05-06 11:00:22 -04:00
Eliot Horowitz
c9d8450389 Spider Monkey: framework mostly done now 2009-05-05 17:28:24 -04:00
Eliot Horowitz
77c36b8c37 Spider Monkey: cleaning interaction - now can make real progress 2009-05-05 16:12:36 -04:00
Eliot Horowitz
2cad033fc0 Spider Monkey: cleaning MINOR 2009-05-05 11:02:47 -04:00
Eliot Horowitz
6f329f6694 validation method MINOR 2009-05-05 10:43:38 -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
a4cbf3072f Merge branch 'master' of git@github.com:mongodb/mongo 2009-05-04 17:37:26 -04:00
Aaron
57699cdd9c convert some shell functions to new js engine framework 2009-05-04 17:37:02 -04:00
Eliot Horowitz
4f8664a85c cleaning MINOR 2009-05-04 17:00:37 -04:00
Eliot Horowitz
e535ec014a fix v8 2009-05-04 16:55:40 -04:00
Eliot Horowitz
1a739255bd Spider Monkey: closer to db integration 2009-05-04 16:49:05 -04:00
Eliot Horowitz
bea1c15eba more portable 2009-05-03 22:40:55 -04:00
Eliot Horowitz
e1070d84f7 more portable javascript 2009-05-01 21:24:10 -04:00
Eliot Horowitz
5530e63caa make javascript more portable 2009-05-01 10:41:49 -04:00
Aaron
a229845ceb more flexibility and sanity checks for min/max query specs 2009-04-30 17:36:25 -04:00
Aaron
de01cc8c1a shell logging when starting / stopping mongo programs MINOR 2009-04-30 12:02:56 -04:00
Eliot Horowitz
b3bb71348e put mongo javascript code in cpp not H so easier to include 2009-04-30 09:09:12 -04:00
Aaron
2abdb949a1 typo MINOR 2009-04-29 17:02:50 -04:00
Aaron
0e7abe0740 add check for initial sync persistence 2009-04-29 16:55:16 -04:00
Aaron
e38ca49cb1 convert remaining tests to new pair fwk 2009-04-29 16:27:01 -04:00
Aaron
47a00e54ad more pair management enhancements for shell 2009-04-28 17:54:04 -04:00
Aaron
187145090c make node status logging debug-only 2009-04-28 15:42:44 -04:00
Aaron
feb797fabf validate initial sync status in e2e test 2009-04-28 15:33:56 -04:00
Aaron
e19818604f precise slave state check 2009-04-28 13:56:58 -04:00
Aaron
02a7e7c9b8 beginning to abstract repl pair manipulation code to make tests more robust 2009-04-28 13:54:19 -04:00
Aaron
e54bfd896a merge 2009-04-22 15:34:59 -04:00
Eliot Horowitz
03089a911b some Array helpers 2009-04-21 07:35:00 -04:00
Eliot Horowitz
9ddf2d4c1f iterative count for testing cursors 2009-04-20 17:41:27 -04:00
Aaron
33711227a3 fix index spec loop MINOR 2009-04-20 14:32:41 -04:00
Aaron
80847b561c add unique option when creating index in c++, js drivers; basic unique key unit tests 2009-04-20 13:51:54 -04:00
Aaron
6152b60368 merge 2009-04-16 11:37:44 -04:00
Aaron
94217c0d66 reset shell index cache when dropping collection 2009-04-16 10:18:09 -04:00
Eliot Horowitz
23286dd9fc server side drop now does indexes and collection 2009-04-15 22:22:40 -04:00
Eliot Horowitz
391f2f01b6 Shell: mongos stop() fix 2009-04-12 22:19:04 -04:00
Aaron
42dc27e4e9 Merge branch 'master' of git@github.com:mongodb/mongo 2009-04-10 14:46:48 -04:00
Aaron
285103740e close read end of pipe to avoid leaking descriptors MINOR 2009-04-10 14:46:02 -04:00
Aaron
278bf65f61 enhanced shell debug info 2009-04-09 18:49:45 -04:00
Eliot Horowitz
53a4ba07d7 Sharding: option to start multiple mongos for testing 2009-04-07 13:35:53 -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
6a8c117755 soon is now 30 secs 2009-04-03 15:36:18 -04:00
Aaron
006c1404e9 assert.soon waits up to 20 sec 2009-04-03 12:53:09 -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
6fa7b75c6a more debugging 2009-03-29 21:24:16 -04:00
Eliot Horowitz
93a3c98bf0 show error on Load error 2009-03-29 09:42:44 -04:00
Eliot Horowitz
83158d34d5 var scope safety 2009-03-27 16:12:06 -04:00
Eliot Horowitz
9e20569d70 formatting 2009-03-27 16:11:57 -04:00
Eliot Horowitz
6b97b0e88b Max/Min Key display - need to make spcial classes though 2009-03-26 16:17:08 -04:00
Eliot Horowitz
c4c2b2559a better Array.tojson option 2009-03-26 16:16:53 -04:00
Aaron
6b1613adb6 safer use of dbs map 2009-03-26 15:12:47 -04:00
Aaron
cc6f3c9a25 Print debug info when mongo crashes 2009-03-24 17:35:50 -04:00
Eliot Horowitz
002155dcbb assert helpers for testing success/failure of commands 2009-03-18 10:50:49 -04:00