0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 17:10:48 +01:00

SERVER-31533 Removes UUID from dropDatabase entry in rollback unit test

This commit is contained in:
Pavithra Vetriselvan 2017-11-09 18:28:59 -05:00
parent 3181b43cd9
commit b6895cfda2

View File

@ -1462,11 +1462,10 @@ TEST_F(RSRollbackTest, RollbackDropDatabaseCommand) {
createOplog(_opCtx.get());
auto commonOperation =
std::make_pair(BSON("ts" << Timestamp(Seconds(1), 0) << "h" << 1LL), RecordId(1));
// 'dropDatabase' operations are special and do not include a UUID field.
auto dropDatabaseOperation =
std::make_pair(BSON("ts" << Timestamp(Seconds(2), 0) << "h" << 1LL << "op"
<< "c"
<< "ui"
<< UUID::gen()
<< "ns"
<< "test.$cmd"
<< "o"