| 1 | Description: Skip flaky test_upload_without_working_tree test |
| 2 | Author: Jelmer Vernooij <[email protected]> |
| 3 | Bug-Debian: https://bugs.debian.org/1103577 |
| 4 | Forwarded: no |
| 5 | |
| 6 | Index: breezy/breezy/plugins/upload/tests/test_upload.py |
| 7 | =================================================================== |
| 8 | --- breezy.orig/breezy/plugins/upload/tests/test_upload.py |
| 9 | +++ breezy/breezy/plugins/upload/tests/test_upload.py |
| 10 | @@ -787,6 +787,9 @@ class TestUploadFromRemoteBranch(tests. |
| 11 | ) |
| 12 | |
| 13 | def test_upload_without_working_tree(self): |
| 14 | + # This test hangs on low-CPU machines due to a race condition in SFTP |
| 15 | + # operations. See Debian bug #1103577 |
| 16 | + raise tests.TestSkipped("Test hangs on low-CPU machines (Debian #1103577)") |
| 17 | self.do_full_upload(directory=self.remote_branch_url) |
| 18 | self.assertUpFileEqual(b"foo", "hello") |
| 19 |