diff --git a/dbms/tests/integration/test_multiple_disks/test.py b/dbms/tests/integration/test_multiple_disks/test.py index 35d3e9abe7465e8ba08fad035322b4d0c2123732..bbb07af93cef4cd4902f19c4eafe8988ce46980f 100644 --- a/dbms/tests/integration/test_multiple_disks/test.py +++ b/dbms/tests/integration/test_multiple_disks/test.py @@ -686,10 +686,12 @@ def test_concurrent_alter_move(start_cluster, name, engine): SETTINGS storage_policy='jbods_with_external' """.format(name=name, engine=engine)) + values = list({ random.randint(1, 1000000) for _ in range(0, 1000) }) + def insert(num): for i in range(num): day = random.randint(11, 30) - value = random.randint(1, 1000000) + value = values.pop() month = '0' + str(random.choice([3, 4])) node1.query("INSERT INTO {} VALUES(toDate('2019-{m}-{d}'), {v})".format(name, m=month, d=day, v=value))