mirror of
https://github.com/borgbackup/borg.git
synced 2026-07-08 01:31:04 -04:00
Skip refcount-inspecting retry tests in remote variant
test_create_changed_file_retry_rolls_back_chunks and test_create_erroneous_file_read_retry_rolls_back_chunks open a local Cache/Repository to inspect chunk refcounts. In RemoteArchiverTestCase the repo was created via a remote (__testsuite__:) location, so opening it locally triggers the "repository was previously located at ssh://..." relocation prompt, which reads stdin and fails under pytest. These checks are inherently local (they poke at cache internals), so skip them in the remote variant, like test_debug_put_get_delete_obj already does. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
0b55c8bc29
commit
c19f84da2d
1 changed files with 8 additions and 0 deletions
|
|
@ -5008,6 +5008,14 @@ class RemoteArchiverTestCase(ArchiverTestCase):
|
|||
def test_debug_put_get_delete_obj(self):
|
||||
pass
|
||||
|
||||
@unittest.skip('only works locally') # inspects cache chunk refcounts via a local Cache/Repository
|
||||
def test_create_changed_file_retry_rolls_back_chunks(self):
|
||||
pass
|
||||
|
||||
@unittest.skip('only works locally') # inspects cache chunk refcounts via a local Cache/Repository
|
||||
def test_create_erroneous_file_read_retry_rolls_back_chunks(self):
|
||||
pass
|
||||
|
||||
@unittest.skip('only works locally')
|
||||
def test_config(self):
|
||||
pass
|
||||
|
|
|
|||
Loading…
Reference in a new issue