summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/record_store_test_updaterecord.cpp
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2014-10-14 09:37:03 -0400
committerEliot Horowitz <eliot@10gen.com>2014-10-15 16:00:01 -0400
commit786945e1a1fea1eb0f7863879e87d264af7a4293 (patch)
treef9d4f6e09d05da8b077c7c554c7a2d662920ec22 /src/mongo/db/storage/record_store_test_updaterecord.cpp
parenta2adff8b30574ed685443c164e35317418f5c8e4 (diff)
downloadmongo-786945e1a1fea1eb0f7863879e87d264af7a4293.tar.gz
SERVER-13635: hook up mmapv1 record stores to harness
Diffstat (limited to 'src/mongo/db/storage/record_store_test_updaterecord.cpp')
-rw-r--r--src/mongo/db/storage/record_store_test_updaterecord.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/storage/record_store_test_updaterecord.cpp b/src/mongo/db/storage/record_store_test_updaterecord.cpp
index c4f744f98a2..432a7d979e0 100644
--- a/src/mongo/db/storage/record_store_test_updaterecord.cpp
+++ b/src/mongo/db/storage/record_store_test_updaterecord.cpp
@@ -72,7 +72,7 @@ namespace mongo {
ASSERT_EQUALS( 1, rs->numRecords( opCtx.get() ) );
}
- data = "my updated record";
+ data = "updated record-";
{
scoped_ptr<OperationContext> opCtx( harnessHelper->newOperationContext() );
{
@@ -138,7 +138,7 @@ namespace mongo {
scoped_ptr<OperationContext> opCtx( harnessHelper->newOperationContext() );
{
stringstream ss;
- ss << "updated record " << i;
+ ss << "update record-" << i;
string data = ss.str();
WriteUnitOfWork uow( opCtx.get() );
@@ -158,7 +158,7 @@ namespace mongo {
scoped_ptr<OperationContext> opCtx( harnessHelper->newOperationContext() );
{
stringstream ss;
- ss << "updated record " << i;
+ ss << "update record-" << i;
string data = ss.str();
RecordData record = rs->dataFor( opCtx.get(), locs[i] );
@@ -199,7 +199,7 @@ namespace mongo {
ASSERT_EQUALS( 1, rs->numRecords( opCtx.get() ) );
}
- string newData = "my updated record";
+ string newData = "my updated record--";
{
scoped_ptr<OperationContext> opCtx( harnessHelper->newOperationContext() );
{