(self)
| 353 | self.client.admin.command("configureFailPoint", "maxTimeAlwaysTimeOut", mode="off") |
| 354 | |
| 355 | def test_explain(self): |
| 356 | a = self.db.test.find() |
| 357 | a.explain() |
| 358 | for _ in a: |
| 359 | break |
| 360 | b = a.explain() |
| 361 | self.assertIn("executionStats", b) |
| 362 | |
| 363 | def test_explain_with_read_concern(self): |
| 364 | # Do not add readConcern level to explain. |