swift/test/probe
Tim Burke 8c0fd3f138 py3: Make seamless reloads work
Starting with Python 3.4, newly-created file descriptors are non-inheritable
[0], which causes trouble when we try to use a pipe for IPC. Fortunately, the
same PEP that implemented this change *also* provided a new API to mark file
descriptors as being inheritable -- so just do that.

While we're at it,

* Fix up the probe tests to work on py3
* Fix up the probe tests to work when policy-0 is erasure-coded
* Decode the bytes read so py3 doesn't log a b'pid'
* Log a warning if the read() is empty; something surely went wrong
  in the re-exec

[0] https://www.python.org/dev/peps/pep-0446/

Change-Id: I2a8a9f3dc78abb99bf9cbcf6b44c32ca644bb07b
Related-Change: I3e5229d2fb04be67e53533ff65b0870038accbb7
2019-12-11 01:07:19 +00:00
..
__init__.py Add license in swift code file 2017-07-05 10:07:11 +08:00
brain.py Make the decision between primary/handoff sets more obvious 2018-05-22 12:12:42 -07:00
common.py Allow internal clients to use reserved namespace 2019-11-27 11:22:00 -06:00
test_account_failures.py Remove executable flag from some test modules 2016-10-31 21:22:10 +00:00
test_account_get_fake_responses_match.py py3: (mostly) port probe tests 2019-09-04 10:17:45 -07:00
test_account_reaper.py Allow internal clients to use reserved namespace 2019-11-27 11:22:00 -06:00
test_container_failures.py py3: (mostly) port probe tests 2019-09-04 10:17:45 -07:00
test_container_merge_policy_index.py py3: (mostly) port probe tests 2019-09-04 10:17:45 -07:00
test_container_sync.py py3: (mostly) port probe tests 2019-09-04 10:17:45 -07:00
test_db_replicator.py Apply remote metadata in _handle_sync_response 2018-03-06 19:52:59 +00:00
test_empty_device_handoff.py py3: (mostly) port probe tests 2019-09-04 10:17:45 -07:00
test_object_async_update.py py3: (mostly) port probe tests 2019-09-04 10:17:45 -07:00
test_object_conditional_requests.py py3: (mostly) port probe tests 2019-09-04 10:17:45 -07:00
test_object_expirer.py Refactoring, test infrastructure changes and cleanup 2018-05-15 18:18:25 +01:00
test_object_failures.py py3: (mostly) port probe tests 2019-09-04 10:17:45 -07:00
test_object_handoff.py py3: (mostly) port probe tests 2019-09-04 10:17:45 -07:00
test_object_metadata_replication.py py3: (mostly) port probe tests 2019-09-04 10:17:45 -07:00
test_object_partpower_increase.py py3: (mostly) port probe tests 2019-09-04 10:17:45 -07:00
test_reconstructor_rebuild.py exclude utf8 tests under py3 2019-10-29 20:12:05 +00:00
test_reconstructor_revert.py py3: (mostly) port probe tests 2019-09-04 10:17:45 -07:00
test_replication_servers_working.py Allow internal clients to use reserved namespace 2019-11-27 11:22:00 -06:00
test_reserved_name.py Allow internal clients to use reserved namespace 2019-11-27 11:22:00 -06:00
test_sharder.py Merge "sharding: Update probe test to verify CleavingContext cleanup" 2019-09-25 23:11:33 +00:00
test_signals.py py3: Make seamless reloads work 2019-12-11 01:07:19 +00:00