Created
June 18, 2014 11:34
-
-
Save alistairncoles/52ce5ea507c4a6d26eb9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/test/probe/common.py b/test/probe/common.py | |
index 446aa25..78a4936 100644 | |
--- a/test/probe/common.py | |
+++ b/test/probe/common.py | |
@@ -246,15 +246,10 @@ def get_to_final_state(): | |
if __name__ == "__main__": | |
- for server in ('account', 'container'): | |
+ for server in ('account', 'container', POLICIES.default.ring_name): | |
try: | |
get_ring(server, force_validate=True) | |
except AssertionError as err: | |
sys.exit('%s ERROR: %s' % (server, err)) | |
print '%s OK' % server | |
- for policy in POLICIES: | |
- try: | |
- get_ring(policy.ring_name, server='object', force_validate=True) | |
- except AssertionError as err: | |
- sys.exit('object ERROR (%s): %s' % (policy.name, err)) | |
- print 'object OK (%s)' % policy.name | |
+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment