swift/test/probe
Christian Schwede c30ceec6f1 Fix ring device checks in probetests
If a device has been removed from one of the rings, it actually is set as None
within the ring. In that case the length of the devices is not True without
filtering the None devices. However, if the length matched the condition but
included a removed device the probetests would fail with a TypeError.

This fix could be done also in swift/common/ring/ring.py, but it seems it only
affects probetests right now, thus fixing it there and not changing the current
behavior.

Change-Id: I8ccf9b32a51957e040dd370bc9f711d4328d17b1
2015-10-07 19:59:15 +00:00
..
__init__.py Add option to make probetests more brittle 2013-07-19 01:39:42 -07:00
brain.py test/(functional/probe):Replace python print operator with print function (pep H233, py33) 2015-08-20 11:42:58 +09:00
common.py Fix ring device checks in probetests 2015-10-07 19:59:15 +00:00
test_account_failures.py Replace assertTrue(not <condition>) with assertFalse(<condition>) 2015-08-07 16:25:13 +01:00
test_account_get_fake_responses_match.py Use six to fix imports on Python 3 2015-07-24 11:48:28 +02:00
test_account_reaper.py pep8 fix: assertEquals -> assertEqual 2015-08-06 09:28:51 -05:00
test_container_failures.py pep8 fix: assertEquals -> assertEqual 2015-08-06 09:28:51 -05:00
test_container_merge_policy_index.py pep8 fix: assertEquals -> assertEqual 2015-08-06 09:28:51 -05:00
test_container_sync.py refactor probe tests 2015-02-12 11:30:21 -08:00
test_empty_device_handoff.py pep8 fix: assertEquals -> assertEqual 2015-08-06 09:28:51 -05:00
test_object_async_update.py Replace assertTrue(not <condition>) with assertFalse(<condition>) 2015-08-07 16:25:13 +01:00
test_object_expirer.py test/(functional, probe): Replace "self.assert_" by "self.assertTrue" 2015-07-28 12:00:00 +01:00
test_object_failures.py pep8 fix: assertEquals -> assertEqual 2015-08-06 09:28:51 -05:00
test_object_handoff.py EC GET path: require fragments to be of same set 2015-08-27 21:09:41 -07:00
test_object_metadata_replication.py Add POST capability to ssync for .meta files 2015-10-02 11:24:19 +00: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 purge for tombstone only REVERT job 2015-09-10 11:07:04 +01:00
test_replication_servers_working.py Erasure Code Reconstructor 2015-04-14 00:52:17 -07:00
test_wsgi_servers.py Add a probetest for HUP/reload 2015-07-30 15:49:23 -07:00