swift/test/unit/obj
Clay Gerrard 52ecbf9539 Add a chunks_finished to BaseDiskFileWriter
BaseDiskFileWriter will track md5 and expose upload_size, etag via the
chunks_finished method.

The BaseDiskFileReader already tracks the md5/etag via _iter_etag, for
parity we add a _chunks_etag to the BaseDiskFileReader.

Instead of returning the upload_size and hexdigest every call to write,
we return the tuple from chunks_finished.

Change-Id: I26c58719cff5fde941d0248c250a0204e0379ae5
2018-09-13 12:28:57 -05:00
..
__init__.py Initial commit of Swift code 2010-07-12 17:03:45 -05:00
common.py Merge "Add Timestamp.now() helper" 2017-07-18 03:27:50 +00:00
test_auditor.py Change object_audit_location_generator() to yield for a single policy. 2018-03-22 03:02:35 +00:00
test_diskfile.py Add a chunks_finished to BaseDiskFileWriter 2018-09-13 12:28:57 -05:00
test_expirer.py Unify expirer unit test task queue 2018-03-08 08:07:24 +00:00
test_reconstructor.py Merge "Remove empty part dirs during ssync replication" 2018-06-23 02:19:18 +00:00
test_replicator.py Address some review comments 2018-06-27 17:17:19 -07:00
test_server.py Merge "Remove empty part dirs during ssync replication" 2018-06-23 02:19:18 +00:00
test_ssync_receiver.py Add checksum to object extended attributes 2017-11-03 13:30:05 -04:00
test_ssync_sender.py Multiprocess object replicator 2018-04-24 04:05:08 +00:00
test_ssync.py Make multiprocess reconstructor's logs more readable. 2018-04-25 11:18:35 -07:00
test_updater.py Have check_drive raise ValueError on errors 2018-06-20 17:15:07 -07:00