Skip to content

Commit

Permalink
Improve output of flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed May 4, 2021
1 parent e66e305 commit 8c56c56
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/src/python/test_qgsqueryresultmodel.py
Expand Up @@ -111,7 +111,8 @@ def loop_exiter():
while self.running:
QCoreApplication.processEvents()

self.assertTrue(res.fetchedRowCount() > 0 and res.fetchedRowCount() < self.NUM_RECORDS)
self.assertGreater(res.fetchedRowCount(), 0)
self.assertLess(res.fetchedRowCount(), self.NUM_RECORDS))

@unittest.skipIf(os.environ.get('QGIS_CONTINUOUS_INTEGRATION_RUN', 'true'), 'Local manual test: not for CI')
def test_widget(self):
Expand Down

0 comments on commit 8c56c56

Please sign in to comment.