Merge pull request #19005 from edx/youngstrom/mongo-count-flaky

Fix flaky mongo count test with xdist
This commit is contained in:
Michael Youngstrom
2018-09-25 16:27:14 -04:00
committed by GitHub

View File

@@ -111,6 +111,7 @@ class TestNotifyCredentials(TestCase):
@override_settings(DEBUG=True)
def test_page_size(self):
reset_queries()
call_command(Command(), '--start-date', '2017-01-01')
baseline = len(connection.queries)