[tracker/functional-tests-applications: 22/22] functional tests, applications: Remove unneeded sleeps



commit ab6f24fbae2c46044e4c6ff048ec5fd7911899a7
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Fri Jan 28 15:32:47 2011 +0100

    functional tests, applications: Remove unneeded sleeps

 tests/functional-tests/600-applications-camera.py |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/tests/functional-tests/600-applications-camera.py b/tests/functional-tests/600-applications-camera.py
index bebd20b..ef4ad73 100755
--- a/tests/functional-tests/600-applications-camera.py
+++ b/tests/functional-tests/600-applications-camera.py
@@ -311,14 +311,12 @@ class TrackerCameraApplicationTests (CommonTrackerApplicationTest):
         assert os.path.exists (dest_filepath)
 
         # FOURTH, ensure we have only 1 resource
-        time.sleep (3)
         self.system.tracker_miner_fs_wait_for_idle (MINER_FS_IDLE_TIMEOUT)
         self.assertEquals (self.get_urn_count_by_url (dest_fileuri), 1)
 
         # Clean the new file so the test directory is as before
         print "Remove and wait"
         os.remove (dest_filepath)
-        time.sleep (3)
         self.system.tracker_miner_fs_wait_for_idle (MINER_FS_IDLE_TIMEOUT)
         self.assertEquals (self.get_urn_count_by_url (dest_fileuri), 0)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]