Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a long-standing bug in the set_refcount() test helper function
Previously it would truncate the expected refcount list at the first zero entry, instead of just removing zero entries from the end. Also move some test code to test_server_commands which should have been there, since they were causing issues with the check for the refcount database in test_server_housekeeping. It's hard to disentangle these two changes. Also disconnect from the HTTP server in S3Client if we receive an exception on reading, since the connection is no longer known to be in a clean state. (cherry picked from commit 0ab2508) (cherry picked from commit b91cdf1)
- Loading branch information
Showing
4 changed files
with
70 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters