summaryrefslogtreecommitdiff
path: root/src/mongo/db/op_observer_impl_test.cpp
diff options
context:
space:
mode:
authorJack Mulrow <jack.mulrow@mongodb.com>2017-07-17 18:51:05 -0400
committerJack Mulrow <jack.mulrow@mongodb.com>2017-07-19 10:52:38 -0400
commit57c63852d129681f84c2c35b4078f44e2426f53f (patch)
treeac69bf225b95f1766361614518b93f88d528497a /src/mongo/db/op_observer_impl_test.cpp
parent9d8bc8dc6c8d1dc92bbf466f27783464ed4f5704 (diff)
downloadmongo-57c63852d129681f84c2c35b4078f44e2426f53f.tar.gz
SERVER-28918 Move rsOplogName to NamespaceString
Diffstat (limited to 'src/mongo/db/op_observer_impl_test.cpp')
-rw-r--r--src/mongo/db/op_observer_impl_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/op_observer_impl_test.cpp b/src/mongo/db/op_observer_impl_test.cpp
index c29bf92dd8d..0c4b752f575 100644
--- a/src/mongo/db/op_observer_impl_test.cpp
+++ b/src/mongo/db/op_observer_impl_test.cpp
@@ -65,7 +65,7 @@ private:
protected:
// Assert that oplog only has a single entry and return that oplog entry.
BSONObj getSingleOplogEntry(OperationContext* opCtx) {
- repl::OplogInterfaceLocal oplogInterface(opCtx, repl::rsOplogName);
+ repl::OplogInterfaceLocal oplogInterface(opCtx, NamespaceString::kRsOplogNamespace.ns());
auto oplogIter = oplogInterface.makeIterator();
auto opEntry = unittest::assertGet(oplogIter->next());
ASSERT_EQUALS(ErrorCodes::CollectionIsEmpty, oplogIter->next().getStatus());