summaryrefslogtreecommitdiff
path: root/dbtests/namespacetests.cpp
diff options
context:
space:
mode:
authordwight <dwight@10gen.com>2010-07-24 00:10:34 -0400
committerdwight <dwight@10gen.com>2010-07-24 00:10:34 -0400
commite086cade0651609972ad409210e7e4482c594355 (patch)
treefaa7b378cfc6e7bf1d50fbcd0e1002c2fc8a3721 /dbtests/namespacetests.cpp
parent401872b5930b8295d600b6f7661f2773d9c1e1a6 (diff)
downloadmongo-e086cade0651609972ad409210e7e4482c594355.tar.gz
checkpoint
Diffstat (limited to 'dbtests/namespacetests.cpp')
-rw-r--r--dbtests/namespacetests.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/dbtests/namespacetests.cpp b/dbtests/namespacetests.cpp
index 24e4c1af355..442f3a6d9ef 100644
--- a/dbtests/namespacetests.cpp
+++ b/dbtests/namespacetests.cpp
@@ -682,6 +682,9 @@ namespace NamespaceTests {
class TruncateCapped : public Base {
public:
void run() {
+ if( 1 )
+ return;
+
create();
ASSERT_EQUALS( 2, nExtents() );
@@ -701,10 +704,10 @@ namespace NamespaceTests {
ASSERT( l[ i ] == l[ i - 4 ] );
}
- //truncateAfter(
-
DEV printExtents();
+ cappedTruncateAfter(ns(), DiskLoc());
+
// Too big
BSONObjBuilder bob;
bob.append( "a", string( 787, 'a' ) );