gh-102209: Disable the timeout in test_implied_dirs_performance. (#102225)

Disable the timeout in test_implied_dirs_performance. Workaround for #102209 until I can work out a more robust test for linearity.
This commit is contained in:
Jason R. Coombs 2023-02-24 17:58:10 -05:00 committed by GitHub
parent 2db23d10bf
commit 89b4c12053
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -330,7 +330,8 @@ class TestPath(unittest.TestCase):
# Check the file iterated all items # Check the file iterated all items
assert entries.count == self.HUGE_ZIPFILE_NUM_ENTRIES assert entries.count == self.HUGE_ZIPFILE_NUM_ENTRIES
@set_timeout(3) # timeout disabled due to #102209
# @set_timeout(3)
def test_implied_dirs_performance(self): def test_implied_dirs_performance(self):
data = ['/'.join(string.ascii_lowercase + str(n)) for n in range(10000)] data = ['/'.join(string.ascii_lowercase + str(n)) for n in range(10000)]
zipfile.CompleteDirs._implied_dirs(data) zipfile.CompleteDirs._implied_dirs(data)