mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-19 19:14:55 +00:00
[Tests] Torrent error status xfail for lt>2.0.7
Some checks failed
Package / windows_package (x64, 1.2.19, 3.9) (push) Has been cancelled
Package / windows_package (x64, 2.0.7, 3.9) (push) Has been cancelled
Package / windows_package (x86, 1.2.19, 3.9) (push) Has been cancelled
Package / windows_package (x86, 2.0.7, 3.9) (push) Has been cancelled
CI / test-linux (3.10) (push) Has been cancelled
CI / test-linux (3.7) (push) Has been cancelled
CI / test-windows (3.10) (push) Has been cancelled
CI / test-windows (3.7) (push) Has been cancelled
Docs / build (push) Has been cancelled
Linting / lint (push) Has been cancelled
Some checks failed
Package / windows_package (x64, 1.2.19, 3.9) (push) Has been cancelled
Package / windows_package (x64, 2.0.7, 3.9) (push) Has been cancelled
Package / windows_package (x86, 1.2.19, 3.9) (push) Has been cancelled
Package / windows_package (x86, 2.0.7, 3.9) (push) Has been cancelled
CI / test-linux (3.10) (push) Has been cancelled
CI / test-linux (3.7) (push) Has been cancelled
CI / test-windows (3.10) (push) Has been cancelled
CI / test-windows (3.7) (push) Has been cancelled
Docs / build (push) Has been cancelled
Linting / lint (push) Has been cancelled
Something changes with libtorrent 2.0.7 with how it handles error state with missing pieces on disk. This will require further investigation but will mark the tests as xfail for now.
This commit is contained in:
parent
0878616b2e
commit
e83f6b84fb
2 changed files with 5 additions and 2 deletions
|
@ -199,6 +199,8 @@ class TestTorrent(BaseTestCase):
|
|||
# self.print_priority_list(priorities)
|
||||
|
||||
def test_torrent_error_data_missing(self):
|
||||
if VersionSplit(lt.__version__) > VersionSplit('2.0.7.0'):
|
||||
pytest.xfail('Test not working as expected after lt 2.0.7')
|
||||
options = {'seed_mode': True}
|
||||
filename = common.get_test_data_file('test_torrent.file.torrent')
|
||||
with open(filename, 'rb') as _file:
|
||||
|
@ -214,6 +216,8 @@ class TestTorrent(BaseTestCase):
|
|||
self.assert_state_wait(torrent, 'Error')
|
||||
|
||||
def test_torrent_error_resume_original_state(self):
|
||||
if VersionSplit(lt.__version__) > VersionSplit('2.0.7.0'):
|
||||
pytest.xfail('Test not working as expected after lt 2.0.7')
|
||||
options = {'seed_mode': True, 'add_paused': True}
|
||||
filename = common.get_test_data_file('test_torrent.file.torrent')
|
||||
with open(filename, 'rb') as _file:
|
||||
|
@ -233,7 +237,7 @@ class TestTorrent(BaseTestCase):
|
|||
|
||||
def test_torrent_error_resume_data_unaltered(self):
|
||||
if VersionSplit(lt.__version__) >= VersionSplit('1.2.0.0'):
|
||||
pytest.skip('Test not working as expected on lt 1.2 or greater')
|
||||
pytest.xfail('Test not working as expected on lt 1.2 or greater')
|
||||
|
||||
resume_data = {
|
||||
'active_time': 13399,
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
-r requirements.txt
|
||||
-r requirements-tests.txt
|
||||
libtorrent==2.0.7
|
||||
|
|
Loading…
Add table
Reference in a new issue