0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
mongodb/jstests
greg 737a20b8fa Fixes for distributed lock handling time skew.
In general, the current distributed lock is susceptible to time skew in config servers and mongos clients.  This update
uses an algorithm that checks for time skew, as well as providing some more robust tests to make sure a distributed
lock cannot be forced prematurely.  Some documentation on the website, currently hidden from non-10gen, gives more
info.
2011-03-01 14:15:26 -05:00
..
auth fix a number of invalid assert.throws 2011-01-21 07:58:02 -05:00
clone
disk SERVER-2076 disable test in v8 mode 2011-02-01 12:08:50 -08:00
dur wait for group commit 2011-02-18 21:04:21 -05:00
libs connection per client thread, since connections are not thread-safe 2011-02-06 23:01:19 -05:00
misc new test 2011-02-16 14:26:24 -05:00
multiClient connection per client thread, since connections are not thread-safe 2011-02-06 23:01:19 -05:00
parallel fix incorrect modifier syntax in parallel repl test 2010-12-28 10:46:36 -08:00
perf Add randomized $near tests SERVER-1342 2010-09-02 20:19:00 -04:00
quota
repl test debugging info 2011-01-31 18:39:38 -08:00
replsets don't allow changing from localhost to hostname SERVER-2622 2011-02-28 12:57:58 -05:00
rs clean m/r tests 2010-12-17 09:31:55 -05:00
sharding Fixes for distributed lock handling time skew. 2011-03-01 14:15:26 -05:00
slowNightly put all replica set nods in shard map 2011-02-17 01:10:50 -05:00
slowWeekly debuggability 2011-02-09 16:57:10 -05:00
tool add sleep in dumprestore2 to handle SERVER-2501 2011-02-08 21:54:01 -08:00
_fail.js
_lodeRunner.js
_runner_leak_nojni.js
_runner_leak.js
_runner_sharding.js
_runner.js
_tst.js tst beginnings 2011-01-03 16:35:28 -05:00
all2.js
all.js
apitest_db.js added getSiblingDB SERVER-2159 2010-11-29 23:09:59 -05:00
apitest_dbcollection.js
apply_ops1.js
array1.js
array3.js
array4.js fixes x.y.N skipping N's elements SERVER-1820 2010-09-21 13:54:23 -04:00
array_match1.js
arrayfind1.js
arrayfind2.js
arrayfind3.js notes for SERVER-1264 2010-11-15 10:22:08 -05:00
auth1.js
auth2.js
autoid.js
basic1.js
basic2.js
basic3.js [SERVER-1988]: added unit test 2010-12-17 10:55:31 -08:00
basic4.js
basic5.js
basic6.js
basic7.js
basic8.js
basic9.js
basica.js
basicb.js
big_object1.js remove size needed for big_object1 test 2011-01-19 23:18:15 -05:00
capped1.js
capped2.js
capped3.js crlf 2011-01-01 17:29:27 -05:00
capped5.js
capped6.js add test comments 2010-12-27 11:51:58 -08:00
capped7.js add test comments 2010-12-27 11:51:58 -08:00
capped8.js SERVER-2294 capped truncate handle empty extent 2010-12-27 22:30:06 -08:00
capped.js
check_shard_index.js null is ok in shard key, blank is not SERVER-2648 2011-03-01 13:21:04 -05:00
copydb-auth.js
copydb.js
count2.js
count3.js
count4.js
count5.js
count.js
coveredIndex1.js clear indexes at beginning of covered index tests so they will pass consistently if run multiple times in a row 2011-02-08 15:00:41 -08:00
coveredIndex2.js clear indexes at beginning of covered index tests so they will pass consistently if run multiple times in a row 2011-02-08 15:00:41 -08:00
cursor1.js
cursor2.js
cursor3.js
cursor4.js
cursor5.js
cursor6.js
cursor7.js
cursora.js debugging 2011-01-01 17:28:39 -05:00
datasize2.js
datasize3.js make test more reliable SERVER-2376 2011-01-19 01:57:27 -05:00
datasize.js
date1.js
dbadmin.js
dbcase.js disable test for SERVER-2111 2010-11-16 19:08:08 -05:00
dbhash.js
dbref1.js
dbref2.js
delx.js
distinct1.js fix issue on distinct with no ns 2010-11-14 20:40:46 -05:00
distinct2.js
distinct_array1.js make distinct yield safely SERVER-1850 2010-10-13 16:11:50 -04:00
distinct_index1.js disinct can pull data from indexes and will choose an index to use if sensible SERVER-1673 2010-11-14 01:57:27 -05:00
distinct_index2.js fix ClientCursor::getFieldsDotted with compound keys SERVER-2325 2011-01-05 00:32:15 -05:00
distinct_speed1.js
drop2.js SERVER-1819 limit interrupt code paths when write lock held 2010-10-04 22:29:44 -07:00
drop_index.js camelcase to _ 2010-09-17 10:08:22 -04:00
drop.js
error1.js
error2.js
error3.js
error4.js
error5.js more test fixing 2011-01-21 09:01:24 -05:00
eval0.js
eval1.js
eval2.js
eval3.js
eval4.js
eval5.js
eval6.js
eval7.js
eval8.js
eval9.js
eval_nolock.js old test for non-blocking eval 2010-11-08 00:25:55 -05:00
evala.js
evalb.js
evalc.js SERVER-387 enable interrupts for v8 2010-09-23 15:42:24 -07:00
evald.js SERVER-1928 try to fix evald race condition 2010-10-12 10:21:36 -07:00
evale.js SERVER-1840 make eval function construction logic in v8 more consistent with sm 2010-10-04 14:44:42 -07:00
evalf.js SERVER-1900 disable test 2010-10-06 08:33:04 -07:00
exists2.js
exists.js
explain1.js fix explain/limin test 2010-09-14 14:59:13 -04:00
explain2.js
explain3.js SERVER-2451 guard dropped cursor on explain yield 2011-01-31 21:02:49 -08:00
extent.js
find1.js
find2.js
find3.js
find4.js
find5.js
find6.js
find7.js
find_and_modify2.js
find_and_modify3.js fix findAndModify when sort is used and _id in query SERVER-2530 2011-02-10 15:49:47 -05:00
find_and_modify4.js
find_and_modify.js
fm1.js
fm2.js
fm3.js
fm4.js
fsync2.js
fsync.js
geo1.js
geo2.js
geo3.js
geo4.js
geo5.js
geo6.js
geo7.js
geo8.js
geo9.js
geo_borders.js added tests for boundaries of geoindexes, multi-keys 2011-01-25 15:04:22 -05:00
geo_box1.js
geo_box2.js
geo_box3.js
geo_center_sphere1.js
geo_circle1.js
geo_circle2.js geo indexing with nested multikeys now works as non-nested 2011-01-28 12:28:57 -05:00
geo_circle2a.js additional test for geoindex 2011-01-28 12:43:40 -05:00
geo_circle3.js
geo_circle4.js
geo_circle5.js
geo_haystack1.js
geo_haystack2.js
geo_near_random1.js Adjust times on geo_near_random tests 2010-09-03 13:28:10 -04:00
geo_near_random2.js Add randomized $near tests SERVER-1342 2010-09-02 20:19:00 -04:00
geo_queryoptimizer.js
geo_sort1.js v8 sort 2010-11-16 09:56:00 -05:00
geo_update1.js test for SERVER-1821 2010-09-24 15:14:15 -04:00
geo_update2.js use distinct collection names in tests to prevent conflict in parallel suite 2011-02-08 11:49:52 -08:00
geoa.js
geob.js
geoc.js
geod.js
geoe.js
geof.js
group1.js
group2.js
group3.js
group4.js
group5.js
group6.js SERVER-1457 make deep copy of NumberLong properly for group 2010-09-08 22:56:25 -07:00
hint1.js
id1.js
in2.js
in3.js
in4.js
in5.js
in6.js
in7.js
in.js
inc1.js
inc2.js
inc3.js
index1.js
index2.js
index3.js
index4.js
index5.js
index6.js
index7.js
index8.js
index9.js
index10.js
index11.js test case for SERVER-1716 2010-09-01 11:54:58 -04:00
index_arr1.js
index_arr2.js
index_check1.js
index_check2.js
index_check3.js
index_check5.js
index_check6.js
index_check7.js
index_check8.js
index_diag.js
index_elemmatch1.js
index_many2.js Add support for making NamespaceDetails::Extra writes durable and use this durable support when dropping indexes 2010-12-28 17:35:15 -08:00
index_many.js
index_sparse1.js fix test collection name for parallel suite 2010-12-08 00:32:56 -08:00
index_sparse2.js fix test collection name for parallel suite 2010-12-08 00:32:56 -08:00
indexa.js
indexapi.js
indexb.js
indexc.js
indexd.js
indexe.js
indexf.js
indexg.js
indexh.js disable indexh debugging 2010-12-28 14:30:35 -08:00
indexi.js
indexj.js
insert1.js
insert2.js check for $ mods on insert SERVER-1954 2010-11-01 23:43:57 -04:00
jni1.js
jni2.js fix v8 readOnly mode 2011-01-24 00:19:53 -05:00
jni3.js
jni4.js
jni5.js
jni7.js
jni8.js
jni9.js
json1.js
killop.js SERVER-1900 disable test until fixed 2010-10-05 21:49:38 -07:00
map1.js
maxscan.js
median.js
minmax.js
mod1.js
mr1.js map/reduce no longer uses temp collections. 2010-12-16 16:41:28 -05:00
mr2.js if using inline mr, don't put an empty "result" SERVER-2311 2011-01-04 01:52:54 -05:00
mr3.js map/reduce no longer uses temp collections. 2010-12-16 16:41:28 -05:00
mr4.js map/reduce no longer uses temp collections. 2010-12-16 16:41:28 -05:00
mr5.js map/reduce no longer uses temp collections. 2010-12-16 16:41:28 -05:00
mr_bigobject.js fix test 2011-01-21 11:06:30 -05:00
mr_comments.js fix comments in embedded code SERVER-2121 2010-11-22 00:53:00 -05:00
mr_errorhandling.js better error handling for wrong types for query/sort SERVER-2228 2010-12-17 11:07:10 -05:00
mr_index2.js map/reduce no longer uses temp collections. 2010-12-16 16:41:28 -05:00
mr_index3.js some mr tests for SERVER-1787 SERVER-2272 2011-01-16 01:21:21 -05:00
mr_index.js fix smal oplog test 2010-11-09 19:01:39 -05:00
mr_killop.js mr_killop remove kill time check, as it may not be a valid check running in parallel suite 2011-01-31 17:42:24 -08:00
mr_merge.js map/reduce no longer uses temp collections. 2010-12-16 16:41:28 -05:00
mr_optim.js mr_optim rename collection to avoid collection conflict in parallel test suite 2011-01-31 11:45:03 -08:00
mr_outreduce2.js some mr tests for SERVER-1787 SERVER-2272 2011-01-16 01:21:21 -05:00
mr_outreduce.js map/reduce no longer uses temp collections. 2010-12-16 16:41:28 -05:00
mr_replaceIntoDB.js custom out db for m/r doesn't work sharded with non-sharded db 2011-01-21 00:55:38 -05:00
mr_sort.js map/reduce no longer uses temp collections. 2010-12-16 16:41:28 -05:00
multi2.js
multi.js
ne1.js
ne2.js SERVER-1705 validate op type with regex 2010-08-30 20:11:00 -07:00
ne3.js SERVER-1705 validate op type with regex 2010-08-30 20:11:00 -07:00
nin.js
not1.js
not2.js SERVER-1212 deal with elemMatch later 2010-08-30 14:49:52 -07:00
notablescan.js SERVER-2217 queryoptimizer handle properly when notablescan exception is generated in queryop init 2010-12-14 10:52:32 -08:00
null.js
numberlong.js
objid1.js
objid2.js
objid3.js
objid4.js
objid5.js crlf 2011-01-01 17:29:27 -05:00
objid6.js
objid7.js
or1.js
or2.js
or3.js
or4.js clean m/r tests 2010-12-17 09:31:55 -05:00
or5.js
or6.js SERVER-2189 2010-12-07 23:01:40 -08:00
or7.js
or8.js SERVER-1883 expand nested array fields when testing document for match with previous or clause 2010-10-03 14:29:49 -07:00
or9.js
ora.js
orb.js
orc.js SERVER-2245 use IndexSpec::GetKeys for or deduping 2010-12-22 18:58:54 -08:00
ord.js SERVER-2245 use IndexSpec::GetKeys for or deduping 2010-12-22 18:58:54 -08:00
ore.js SERVER-2245 use IndexSpec::GetKeys for or deduping 2010-12-22 18:58:54 -08:00
orf.js SERVER-2262 add a regression test for 200 or clauses 2010-12-27 10:32:37 -08:00
profile1.js ensure profile1 test disables profiling when finished 2010-12-28 14:30:35 -08:00
proj_key1.js use data from indexes if possivle SERVER-192 2010-11-16 16:11:43 -05:00
pull2.js
pull_remove1.js fix pull with primitives and $ops SERVER-1697 2010-09-24 15:40:59 -04:00
pull.js
pullall2.js
pullall.js
push2.js drop some large collections when tests are done 2011-01-20 02:00:22 -05:00
push.js
pushall.js
query1.js
queryoptimizer1.js
queryoptimizer2.js SERVER-1207 be more conservative recording a successful query plan when part of an or clause 2010-08-31 20:33:58 -07:00
ref2.js
ref3.js
ref4.js
ref.js
regex2.js
regex3.js
regex4.js
regex5.js
regex6.js
regex7.js
regex8.js
regex9.js SERVER-1705 validate op type with regex 2010-08-30 20:11:00 -07:00
regex_embed1.js
regex.js
remove2.js
remove3.js
remove4.js
remove5.js
remove6.js
remove7.js
remove8.js
remove_justone.js
remove_undefined.js remove( { x : undefined } ) should not delete everything in the collection SERVER-2384 2011-01-21 02:51:21 -05:00
remove.js
rename2.js
rename3.js
rename4.js SEVER-394 remove overwrite field name in place mode, as this can cause field ordering to differ between master and slave 2010-09-29 11:16:25 -07:00
rename.js
repair.js
run_program1.js
set1.js
set2.js
set3.js
set4.js
set5.js
set6.js
set7.js
set_param1.js get/set -> (get|set)Parameter and a test SERVER-1843 2010-11-22 19:52:44 -05:00
shellkillop.js fix shellkillop on windows 2011-01-18 21:34:51 -08:00
shellspawn.js
shellstartparallel.js try to fix shellstartparallel failures 2011-01-10 10:57:37 -08:00
slice1.js
sort1.js
sort2.js use unique collection name in test 2011-01-18 13:32:49 -08:00
sort3.js
sort4.js
sort5.js
sort6.js
sort_numeric.js
splitvector.js splitVector can now be 'force'-d to split a small chunk 2010-10-21 14:11:48 -04:00
stats.js
storefunc.js
sub1.js
temp_cleanup.js clean m/r tests 2010-12-17 09:31:55 -05:00
testminmax.js
ts1.js new Timestamp() for v8 SERVER-2315 2011-01-03 00:20:46 -05:00
type1.js
unique2.js
uniqueness.js
unset2.js
unset.js
update2.js
update3.js
update4.js
update5.js
update6.js
update7.js
update8.js
update9.js
update_addToSet2.js
update_addToSet3.js fix case where the same element is in $each part of $addToSet SERVER-2249 2010-12-19 01:36:41 -05:00
update_addToSet.js
update_arraymatch1.js
update_arraymatch2.js
update_arraymatch3.js
update_arraymatch4.js
update_arraymatch5.js
update_arraymatch6.js
update_multi3.js
update_multi4.js
update_multi5.js
update_multi6.js test that's already working 2011-01-11 23:01:17 -05:00
update.js
updatea.js
updateb.js
updatec.js
updated.js
updatee.js
upsert1.js
where1.js
where2.js
where3.js