swift/test/functional
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
..
s3api Round s3api listing LastModified to integer resolution 2022-05-10 11:26:27 +01:00
__init__.py Cleanup tests' import of debug_logger 2021-04-27 12:04:41 +01:00
mock_swift_key_manager.py Retrieve encryption root secret from Barbican 2017-08-02 15:53:09 +03:00
swift_test_client.py func tests: plumb tolerate_missing through to listing_empty 2021-07-29 09:31:06 -07:00
test_access_control.py Get func tests passing with a minimal proxy pipeline 2020-09-18 13:05:41 -07:00
test_account.py Drop use of unittest2 2020-01-12 03:13:41 -06:00
test_container.py Drop use of unittest2 2020-01-12 03:13:41 -06:00
test_dlo.py dlo: Respond 200 on multi-range GETs 2019-08-16 16:35:34 -07:00
test_domain_remap.py Drop use of unittest2 2020-01-12 03:13:41 -06:00
test_object_versioning.py replace md5 with swift utils version 2020-12-15 09:52:55 -05:00
test_object.py replace md5 with swift utils version 2020-12-15 09:52:55 -05:00
test_slo.py replace md5 with swift utils version 2020-12-15 09:52:55 -05:00
test_staticweb.py s3api: Transfer REMOTE_USER when using s3_acl 2021-01-08 16:11:02 -08:00
test_symlink.py replace md5 with swift utils version 2020-12-15 09:52:55 -05:00
test_tempurl.py Get func tests passing with a minimal proxy pipeline 2020-09-18 13:05:41 -07:00
test_versioned_writes.py Merge "Get func tests passing with a minimal proxy pipeline" 2021-03-31 08:09:07 +00:00
tests.py replace md5 with swift utils version 2020-12-15 09:52:55 -05:00