]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa/tasks/filestore_idempotent: run failure tests later in sequence
authorSage Weil <sage@redhat.com>
Sat, 3 Feb 2018 15:29:44 +0000 (09:29 -0600)
committerSage Weil <sage@redhat.com>
Tue, 6 Feb 2018 00:08:28 +0000 (18:08 -0600)
We want to get past the initial colleciton and object creation steps,
which don't include interesting ops.

Signed-off-by: Sage Weil <sage@redhat.com>
qa/tasks/filestore_idempotent.py

index 4e2a228fc3b6b513bfaa546ef2bccc19ae47470e..35c1a80022f37cbffd151dfd60903d1e3a2110d4 100644 (file)
@@ -38,7 +38,9 @@ def task(ctx, config):
 
     dir = '%s/ceph.data/test.%s' % (testdir, client)
 
-    seed = str(int(random.uniform(1,100)))
+    seed = int(random.uniform(1,100))
+    start = 800 + random.randint(800,1200)
+    end = start + 150
 
     try:
         log.info('creating a working dir')
@@ -61,7 +63,7 @@ def task(ctx, config):
             args=[
                 'cd', dir,
                 run.Raw('&&'),
-                './run_seed_to_range.sh', seed, '50', '300',
+                './run_seed_to_range.sh', str(seed), str(start), str(end),
                 ],
             wait=False,
             check_status=False)