swift/test
Tim Burke 1ee9b1e3ba tests: Clear txn id on init for all debug loggers
Since we fake out all the greenthread stuff to run in the main thread,
we can (sometimes?) find that a transaction ID has already been set,
leading to failures in test_bad_request_app_logging like

    AssertionError: b'X-Trans-Id: test-trans-id' not found
    in b'X-Trans-Id: tx...'

By resetting the logger's txn_id, we're assured that our mock will be
run and the expected transaction ID will be used.

Change-Id: I465eed5372a2a5e591f80a09676f4b7f091cd444
2024-02-27 09:49:50 -08:00
..
cors s3api: Allow CORS preflights for pre-signed URLs 2021-07-14 10:52:12 -07:00
functional lint: Consistently use assertIsInstance 2024-02-07 15:48:39 -08:00
probe Merge "sharding: don't replace own_shard_range without an epoch" 2024-02-08 01:04:58 +00:00
s3api s3api: Add basic GET object-lock support 2023-10-05 16:38:35 +11:00
unit Merge "lint: Consistently use assertIsInstance" 2024-02-08 04:36:37 +00:00
__init__.py Clean up some cruft 2023-01-19 12:56:08 -08:00
debug_logger.py tests: Clear txn id on init for all debug loggers 2024-02-27 09:49:50 -08:00
sample.conf fix s3api functional tests 2020-05-15 22:38:04 -07:00