From 7787aa975f123736862c6307af72ebae477a290a Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Sat, 16 Dec 2017 17:29:30 +0000 Subject: [PATCH] Delay assert in test_torrent for Travis --- deluge/tests/test_torrent.py | 1 + 1 file changed, 1 insertion(+) diff --git a/deluge/tests/test_torrent.py b/deluge/tests/test_torrent.py index de334f87e..6e9445f7a 100644 --- a/deluge/tests/test_torrent.py +++ b/deluge/tests/test_torrent.py @@ -121,6 +121,7 @@ class TorrentTestCase(BaseTestCase): torrent_id = self.core.add_torrent_file(filename, filedump, options) torrent = self.core.torrentmanager.torrents[torrent_id] + time.sleep(0.5) # Delay to wait for lt to finish check on Travis. self.assert_state(torrent, 'Seeding') # Force an error by reading (non-existant) piece from disk