-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attribute error during timeout cancelling transfer
- Change remaining instances of errors.TicketCancelTimeout to errors.TransferCancelTimeout - Include an initial unit test that attempts to mimic two connection attempts: - Connection 1 initiates the transfer - Connection 2 issues the delete request - Fixed unit test to incorporate suggestions: - Use testutil.create_tempfile to create temporary file - Use a smaller file, 8 MiB (hopefully) is enough to simulate the issue - Use monkeypatch.setattr() to modify global values for test_delete_conflict test - Use time.sleep() instead of reading one byte Signed-off-by: jsattelb <jsattelb@ldeo.columbia.edu>
- Loading branch information
1 parent
4e5f7e0
commit 3fddc24
Showing
3 changed files
with
25 additions
and
3 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