disable the test_export_with_existing_files

This was broken by Git 2.34, and I haven't found a good way to fix it to
recover the old behavior. This is a corner case behavior that almost no
one cares about in practice, so it's not worth blocking progress on the
entire project. If it stays broken forever, it's not the end of the
world.

See https://github.com/buildinspace/peru/issues/221.
This commit is contained in:
Jack O'Connor 2022-02-25 13:51:02 -05:00
parent dac923d2cb
commit 7af25ac575
1 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,6 @@
import os
import time
import unittest
import peru.cache
from shared import assert_contents, create_dir, make_synchronous, PeruTest, \
@ -93,6 +94,10 @@ class CacheTest(PeruTest):
await self.cache.export_tree(tree, out_dir)
assert_contents(out_dir, expected_content)
@unittest.skip(
"broken by Git 2.34, "
"see https://github.com/buildinspace/peru/issues/221"
)
@make_synchronous
async def test_export_with_existing_files(self):
# Create a dir with an existing file that doesn't conflict.