<HTML><BODY><div>LGTM<br><br> <blockquote style="border-left:1px solid #0857A6; margin:10px; padding:0 0 0 10px;">Пятница, 10 апреля 2020, 16:27 +03:00 от Sergey Bronnikov <sergeyb@tarantool.org>:<br> <div id=""><div class="js-helper js-readmsg-msg"><style type="text/css"></style><div><div id="style_15865252290541924091_BODY">Test was a flaky from the beginning 39d0e4273dde2dbb3e46aea35310379e98e7cc64<br>Time of building indexes varies from time to time and the problem was due to<br>abcense of synchronization in index building and checking numbers of these<br>indexes.<br><br>Fixes #4353<br>---<br> test/engine/ddl.result | 15 +++++++++------<br> test/engine/ddl.test.lua | 14 ++++++++------<br> test/engine/suite.ini | 3 +--<br> 3 files changed, 18 insertions(+), 14 deletions(-)<br><br>diff --git a/test/engine/ddl.result b/test/engine/ddl.result<br>index 67b22ed9e..6cf429c9b 100644<br>--- a/test/engine/ddl.result<br>+++ b/test/engine/ddl.result<br>@@ -2461,20 +2461,23 @@ ch:get()<br> ---<br> - true<br> ...<br>-box.space.test.index.pk:count() == box.space.test.index.sk:count()<br>+inspector:wait_cond(function() return box.space.test.index.pk:count() == box.space.test.index.sk:count() end)<br> ---<br> - true<br> ...<br>-box.space.test.index.pk:count() == box.space.test.index.tk:count()<br>+inspector:wait_cond(function() return box.space.test.index.pk:count() == box.space.test.index.tk:count() end)<br> ---<br> - true<br> ...<br> inspector:cmd("restart server default")<br>-box.space.test.index.pk:count() == box.space.test.index.sk:count()<br>+inspector = require('test_run').new()<br>+---<br>+...<br>+inspector:wait_cond(function() return box.space.test.index.pk:count() == box.space.test.index.sk:count() end)<br> ---<br> - true<br> ...<br>-box.space.test.index.pk:count() == box.space.test.index.tk:count()<br>+inspector:wait_cond(function() return box.space.test.index.pk:count() == box.space.test.index.tk:count() end)<br> ---<br> - true<br> ...<br>@@ -2482,11 +2485,11 @@ box.snapshot()<br> ---<br> - ok<br> ...<br>-box.space.test.index.pk:count() == box.space.test.index.sk:count()<br>+inspector:wait_cond(function() return box.space.test.index.pk:count() == box.space.test.index.sk:count() end)<br> ---<br> - true<br> ...<br>-box.space.test.index.pk:count() == box.space.test.index.tk:count()<br>+inspector:wait_cond(function() return box.space.test.index.pk:count() == box.space.test.index.tk:count() end)<br> ---<br> - true<br> ...<br>diff --git a/test/engine/ddl.test.lua b/test/engine/ddl.test.lua<br>index e761966d7..57f1beb03 100644<br>--- a/test/engine/ddl.test.lua<br>+++ b/test/engine/ddl.test.lua<br>@@ -976,15 +976,17 @@ _ = fiber.create(function() gen_load() ch:put(true) end)<br> _ = box.space.test:create_index('tk', {unique = true, parts = {3, 'unsigned'}})<br> ch:get()<br> <br>-box.space.test.index.pk:count() == box.space.test.index.sk:count()<br>-box.space.test.index.pk:count() == box.space.test.index.tk:count()<br>+inspector:wait_cond(function() return box.space.test.index.pk:count() == box.space.test.index.sk:count() end)<br>+inspector:wait_cond(function() return box.space.test.index.pk:count() == box.space.test.index.tk:count() end)<br> <br> inspector:cmd("restart server default")<br> <br>-box.space.test.index.pk:count() == box.space.test.index.sk:count()<br>-box.space.test.index.pk:count() == box.space.test.index.tk:count()<br>+inspector = require('test_run').new()<br>+<br>+inspector:wait_cond(function() return box.space.test.index.pk:count() == box.space.test.index.sk:count() end)<br>+inspector:wait_cond(function() return box.space.test.index.pk:count() == box.space.test.index.tk:count() end)<br> box.snapshot()<br>-box.space.test.index.pk:count() == box.space.test.index.sk:count()<br>-box.space.test.index.pk:count() == box.space.test.index.tk:count()<br>+inspector:wait_cond(function() return box.space.test.index.pk:count() == box.space.test.index.sk:count() end)<br>+inspector:wait_cond(function() return box.space.test.index.pk:count() == box.space.test.index.tk:count() end)<br> <br> box.space.test:drop()<br>diff --git a/test/engine/suite.ini b/test/engine/suite.ini<br>index 5ae12a431..e78b8c261 100644<br>--- a/test/engine/suite.ini<br>+++ b/test/engine/suite.ini<br>@@ -10,5 +10,4 @@ config = engine.cfg<br> lua_libs = conflict.lua ../box/lua/utils.lua ../box/lua/push.lua<br> is_parallel = True<br> pretest_clean = True<br>-fragile = ddl.test.lua ; gh-4353<br>- recover_wal.test.lua ; gh-3767<br>+fragile = recover_wal.test.lua ; gh-3767<br>--<br>2.23.0<br><br><br>--<br>sergeyb@</div></div></div></div></blockquote> <div> </div><div data-signature-widget="container"><div data-signature-widget="content"><div>--<br>Oleg Piskunov</div></div></div><div> </div></div></BODY></HTML>