提交 164360e7 编写于 作者: V Vladimir Chebotarev

Fixed `test_ttl_move` again.

上级 2e853e32
......@@ -134,7 +134,7 @@ def test_moves_to_volume_work(started_cluster, name, engine):
for p in range(2):
data = [] # 20MB in total
for i in range(10):
data.append((p, "'{}'".format(get_random_string(1024 * 1024)), "toDateTime({})".format(time.time()+2))) # 1MB row
data.append((str(p), "'{}'".format(get_random_string(1024 * 1024)), "toDateTime({})".format(time.time()+2))) # 1MB row
node1.query("INSERT INTO {} (p1, s1, d1) VALUES {}".format(name, ",".join(["(" + ",".join(x) + ")" for x in data])))
......@@ -172,7 +172,7 @@ def test_inserts_to_volume_work(started_cluster, name, engine):
for p in range(2):
data = [] # 20MB in total
for i in range(10):
data.append((p, "'{}'".format(get_random_string(1024 * 1024)), "toDateTime({})".format(time.time()-2))) # 1MB row
data.append((str(p), "'{}'".format(get_random_string(1024 * 1024)), "toDateTime({})".format(time.time()-2))) # 1MB row
node1.query("INSERT INTO {} (p1, s1, d1) VALUES {}".format(name, ",".join(["(" + ",".join(x) + ")" for x in data])))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册