]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Ensure suite components are run in alphabetical order.
authorTommi Virtanen <tommi.virtanen@dreamhost.com>
Tue, 21 Jun 2011 17:19:35 +0000 (10:19 -0700)
committerTommi Virtanen <tommi.virtanen@dreamhost.com>
Wed, 22 Jun 2011 23:03:20 +0000 (16:03 -0700)
teuthology/suite.py

index 3ee1264a30c440a65860c04428c64b656e6e6d83..5ce78e63165729a8a6c468c28b715633a9813a68 100644 (file)
@@ -67,12 +67,13 @@ useful for specifying actual machines to run on.
 
     failed = False
     facets = [
-        f for f in os.listdir(args.suite)
+        f for f in sorted(os.listdir(args.suite))
         if not f.startswith('.')
         and os.path.isdir(os.path.join(args.suite, f))
         ]
     facet_configs = (
-        [(f, name, os.path.join(args.suite, f, name)) for name in os.listdir(os.path.join(args.suite, f))
+        [(f, name, os.path.join(args.suite, f, name))
+         for name in sorted(os.listdir(os.path.join(args.suite, f)))
          if not name.startswith('.')
          and name.endswith('.yaml')
          ]