swift/test/functional/s3api
Alistair Coles 2f607cd319 Round s3api listing LastModified to integer resolution
s3api bucket listing elements currently have LastModified values with
millisecond precision. This is inconsistent with the value of the
Last-Modified header returned with an object GET or HEAD response
which has second precision. This patch reduces the precision to
seconds in bucket listings and upload part listings. This is also
consistent with observation of an aws listing response.

The last modified values in the swift native listing *up* to
the nearest second to be consistent with the seconds-precision
Last-Modified time header that is returned with an object GET or HEAD.
However, we continue to include millisecond digits set to 0 in the
last-modified string, e.g.: '2014-06-10T22:47:32.000Z'.

Also, fix the last modified time returned in an object copy response
to be consistent with the last modified time of the object that was
created. Previously it was rounded down, but it should be rounded up.

Change-Id: I8c98791a920eeedfc79e8a9d83e5032c07ae86d3
2022-05-10 11:26:27 +01:00
..
__init__.py func test improvements 2021-09-14 21:49:32 -07:00
s3_test_client.py s3api: Fix non-ascii MPUs 2022-01-28 21:01:17 -08:00
test_acl.py fix s3api functional tests 2020-05-15 22:38:04 -07:00
test_bucket.py func test improvements 2021-09-14 21:49:32 -07:00
test_multi_delete.py s3api: Fix multi_delete with object names using non-ASCII characters 2022-03-01 13:47:35 +01:00
test_multi_upload.py Round s3api listing LastModified to integer resolution 2022-05-10 11:26:27 +01:00
test_object.py Round s3api listing LastModified to integer resolution 2022-05-10 11:26:27 +01:00
test_presigned.py Round s3api listing LastModified to integer resolution 2022-05-10 11:26:27 +01:00
test_service.py fix s3api functional tests 2020-05-15 22:38:04 -07:00
test_versioning.py Remove lxml deprecated methods 2020-06-23 13:32:22 +02:00
utils.py replace md5 with swift utils version 2020-12-15 09:52:55 -05:00