diff options
author | Tim Burke <tim.burke@gmail.com> | 2019-02-01 01:17:56 +0000 |
---|---|---|
committer | Tim Burke <tim.burke@gmail.com> | 2019-02-01 01:17:56 +0000 |
commit | 61c9aa4bf3f7678fc0b7ec93fca7633ebb7e45ad (patch) | |
tree | 6bc32c4f14535dbfbf73ae4dd88c59e234a81e0f /swift/common/middleware/s3api/s3request.py | |
parent | 0c316a134fd44f7254a9561796f088d9b7f9a9c3 (diff) | |
download | swift-61c9aa4bf3f7678fc0b7ec93fca7633ebb7e45ad.tar.gz |
probetests: make negative assertion more meaningful
In test_replication_servers_working, we delete a bunch of directories
without deleting hashes.pkl, then verify that nothing at that level is a
directory.
This would be trivially true except that throughout the test, we have
the replicators running constantly. However, we never verified that the
replicators actually *have* run and had a chance to re-create the
missing directories.
Now, stop the replicators before doing the deletes, run them
synchronously between doing the deletes and verifying that there are no
directories, and start them again before the final set of assertions.
Change-Id: I841f8250eb7abfb0fcdfca5c106f65e6e94dce0c
Diffstat (limited to 'swift/common/middleware/s3api/s3request.py')
0 files changed, 0 insertions, 0 deletions