Skip to content

Fix spurious failure in test_cache_files#5479

Merged
ThomasWaldmann merged 1 commit intoborgbackup:masterfrom
twilligon:fix-5438
Nov 3, 2020
Merged

Fix spurious failure in test_cache_files#5479
ThomasWaldmann merged 1 commit intoborgbackup:masterfrom
twilligon:fix-5438

Conversation

@twilligon
Copy link
Contributor

Fixes #5438. The issue here was kind of funny. I ran the tests 1000 times, and they failed 4 - very close to 1/256th of the time. Then the problem became obvious: the corrupt() function wasn't corrupting the cache file if it did in fact originally end in "1".

@ThomasWaldmann
Copy link
Member

Hah, so easy, once you see it. :-)

@ThomasWaldmann ThomasWaldmann merged commit 5334dbc into borgbackup:master Nov 3, 2020
@ThomasWaldmann
Copy link
Member

Please also check if a backport is needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

spurious failure in test_cache_files

2 participants