Skip to content

Commit

Permalink
avoid long time.sleep calls, when we all we want is some time to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
hannosch committed Apr 7, 2012
1 parent 043ea87 commit aa7a55f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Products/ZCatalog/tests/test_plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,10 @@ def test_getCatalogPlan_full(self):
plan = self._makeOne(zcat._catalog, query={'index1': 1, 'index2': 2})
plan.start()
plan.start_split('index1')
time.sleep(0.111111)
time.sleep(0.001)
plan.stop_split('index1')
plan.start_split('index2')
time.sleep(0.222222)
time.sleep(0.001)
plan.stop_split('index2')
plan.stop()
plan_str = zcat.getCatalogPlan()
Expand Down

0 comments on commit aa7a55f

Please sign in to comment.