D-Bus testing: give local sync more time to complete

Local syncing under valgrind can take a while. Increased timeouts.
This commit is contained in:
Patrick Ohly 2012-02-15 16:23:09 +00:00
parent db574bec44
commit a78f264b6c
1 changed files with 2 additions and 0 deletions

View File

@ -3098,6 +3098,7 @@ class TestLocalSync(unittest.TestCase, DBusUtil):
"databaseFormat": "text/vcard",
"database": "file://" + xdg_root + "/server" } })
@timeout(100)
def testSync(self):
"""TestLocalSync.testSync - run a simple slow sync between local dirs"""
os.makedirs(xdg_root + "/server")
@ -3117,6 +3118,7 @@ END:VCARD''')
self.assertTrue("FN:John Doe" in input.read())
@property("ENV", "SYNCEVOLUTION_LOCAL_CHILD_DELAY=5")
@timeout(100)
def testConcurrency(self):
"""TestLocalSync.testConcurrency - D-Bus server must remain responsive while sync runs"""
self.setUpListeners(self.sessionpath)