diff options
author | Dwight <dwight@10gen.com> | 2012-03-23 09:12:20 -0400 |
---|---|---|
committer | Dwight <dwight@10gen.com> | 2012-03-23 09:12:20 -0400 |
commit | f9c8560b866b3b286dc67548cbb82975fd4add46 (patch) | |
tree | 7dc50517a59c4697d17615a6ba9efa712944bb65 /src | |
parent | c5aba00d1226eb4267028775b898f26734495092 (diff) | |
download | mongo-f9c8560b866b3b286dc67548cbb82975fd4add46.tar.gz |
with the last change to admin db locking behavior it is now only allowed to be nested for reading. so changing the test to match that
Diffstat (limited to 'src')
-rw-r--r-- | src/mongo/dbtests/threadedtests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/dbtests/threadedtests.cpp b/src/mongo/dbtests/threadedtests.cpp index bd1e82ac909..9b38e12badf 100644 --- a/src/mongo/dbtests/threadedtests.cpp +++ b/src/mongo/dbtests/threadedtests.cpp @@ -201,9 +201,9 @@ namespace ThreadedTests { { Lock::DBRead x("admin"); } { Lock::DBWrite x("admin"); } } else if( q == 2 ) { - Lock::DBWrite x("foo"); + /*Lock::DBWrite x("foo"); Lock::DBWrite y("admin"); - { Lock::TempRelease t; } + { Lock::TempRelease t; }*/ } else if( q == 3 ) { Lock::DBWrite x("foo"); |