swift/test/probe
Or Ozeri 4aa1ae61cb Raise 412 response on expirer
Currently, the expirer daemon treats 412 (precondition failed)
as successful DELETEs.

On the other hand, it treats 404 as failed while reclaim_age
(usually a week) has not passed.
This patch unifies both cases to the same handling: waiting for
reclaim_age to pass, then deleting the entry.

The reason the expirer should not delete a 412 entry right away,
is that it might be the case that 412 is returned because of
a split brain, where the updated object servers are currently down.
Same reason holds for a 404 response.

Change-Id: Icabbdd72746a211b68f266a49231881f0f4ace94
2016-08-07 10:44:59 +03:00
..
__init__.py Add option to make probetests more brittle 2013-07-19 01:39:42 -07:00
brain.py Refactor tests and add tests 2016-06-15 16:36:25 +01:00
common.py Remove unused (but defaulted) args 2016-06-02 16:49:32 +00:00
test_account_failures.py pids in probe is no longer used 2016-06-01 23:53:35 -07:00
test_account_get_fake_responses_match.py py3: Replace urllib imports with six.moves.urllib 2015-10-08 15:24:13 +02:00
test_account_reaper.py pep8 fix: assertEquals -> assertEqual 2015-08-06 09:28:51 -05:00
test_container_failures.py pids in probe is no longer used 2016-06-01 23:53:35 -07:00
test_container_merge_policy_index.py Refactor tests and add tests 2016-06-15 16:36:25 +01:00
test_container_sync.py Container-Sync to perform HEAD before PUT object on remote 2016-03-23 17:42:48 +00:00
test_empty_device_handoff.py Enable object body and metadata encryption 2016-06-30 23:31:15 -07:00
test_object_async_update.py Make container update override headers persistent 2016-06-22 14:48:39 +01:00
test_object_expirer.py Raise 412 response on expirer 2016-08-07 10:44:59 +03:00
test_object_failures.py Enable object body and metadata encryption 2016-06-30 23:31:15 -07:00
test_object_handoff.py Enable object body and metadata encryption 2016-06-30 23:31:15 -07:00
test_object_metadata_replication.py Enable middleware to set metadata on object POST 2016-06-28 11:00:33 +01:00
test_reconstructor_durable.py Fix some minor typos 2015-08-14 16:49:41 -07:00
test_reconstructor_rebuild.py Replace it.next() with next(it) for py3 compat 2015-06-15 22:10:45 +05:30
test_reconstructor_revert.py Fix probe tests from commit cf48e75 2016-05-02 17:29:32 -07:00
test_replication_servers_working.py Erasure Code Reconstructor 2015-04-14 00:52:17 -07:00
test_wsgi_servers.py Python3 eventlet patched httplib _MAXHEADERS 2016-07-21 04:21:36 +00:00