]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rados: fix references to testrados
authorJosh Durgin <josh.durgin@dreamhost.com>
Fri, 30 Dec 2011 20:54:55 +0000 (12:54 -0800)
committerJosh Durgin <josh.durgin@dreamhost.com>
Fri, 30 Dec 2011 22:37:45 +0000 (14:37 -0800)
teuthology/task/rados.py

index eebde3a1d08b120463ebfc53d93b34391373125d..1e114af475b66c0136b5b3438b0d9e66b3911524 100644 (file)
@@ -12,7 +12,7 @@ def task(ctx, config):
 
     The config should be as follows::
 
-        testrados:
+        rados:
           clients: [client list]
           ops: <number of ops>
           objects: <number of objects to use>
@@ -23,7 +23,7 @@ def task(ctx, config):
 
         tasks:
         - ceph:
-        - testrados:
+        - rados:
             clients: [client.0]
             ops: 1000
             objects: 25
@@ -31,10 +31,10 @@ def task(ctx, config):
             snaps: true
         - interactive:
     """
-    log.info('Beginning testrados...')
+    log.info('Beginning rados...')
     assert isinstance(config, dict), \
         "please list clients to run on"
-    testrados = {}
+    tests = {}
 
     (mon,) = ctx.cluster.only('mon.0').remotes.iterkeys()
     remotes = []
@@ -71,14 +71,14 @@ def task(ctx, config):
 
         proc = remote.run(
             args=args,
-            logger=log.getChild('testrados.{id}'.format(id=id_)),
+            logger=log.getChild('rados.{id}'.format(id=id_)),
             stdin=run.PIPE,
             wait=False
             )
-        testrados[id_] = proc
+        tests[id_] = proc
 
     try:
         yield
     finally:
-        log.info('joining testrados')
-        run.wait(testrados.itervalues())
+        log.info('joining rados')
+        run.wait(tests.itervalues())