summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mongo/db/exhaust_cursor_currentop_integration_test.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/exhaust_cursor_currentop_integration_test.cpp b/src/mongo/db/exhaust_cursor_currentop_integration_test.cpp
index e8fff744558..e308109b5c6 100644
--- a/src/mongo/db/exhaust_cursor_currentop_integration_test.cpp
+++ b/src/mongo/db/exhaust_cursor_currentop_integration_test.cpp
@@ -113,6 +113,10 @@ bool confirmCurrentOpContents(DBClientBase* conn,
}
sleepFor(intervalMS);
}
+ auto currentOp = BSON("currentOp" << BSON("idleCursors" << true));
+ unittest::log()
+ << "confirmCurrentOpContents fails with curOpMatch: " << curOpMatch << " currentOp: "
+ << conn->runCommand(OpMsgRequest::fromDBAndBody("admin", currentOp))->getCommandReply();
return false;
}