]> git.proxmox.com Git - ceph.git/blobdiff - ceph/qa/tasks/filestore_idempotent.py
update sources to 12.2.7
[ceph.git] / ceph / 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)