diff --git a/test/box/net.box.result b/test/box/net.box.result index 474297af3528b593be8463bc21f613a721c0ca44..36527623783f5a0df6c5e5dad0a20b263b3077e2 100644 --- a/test/box/net.box.result +++ b/test/box/net.box.result @@ -3772,26 +3772,27 @@ sock:close() --- - true ... -test_run:grep_log('default', 'Got a corrupted row.*') +test_run:wait_log('default', 'Got a corrupted row.*', nil, 10) --- - 'Got a corrupted row:' ... -test_run:grep_log('default', '00000000:.*') +test_run:wait_log('default', '00000000:.*', nil, 10) --- - '00000000: A3 02 D6 5A E4 D9 E7 68 A1 53 8D 53 60 5F 20 3F ' ... -test_run:grep_log('default', '00000010:.*') +test_run:wait_log('default', '00000010:.*', nil, 10) --- - '00000010: D8 E2 D6 E2 A3 02 D6 5A E4 D9 E7 68 A1 53 8D 53 ' ... -test_run:grep_log('default', '00000020:.*') +test_run:wait_log('default', '00000020:.*', nil, 10) --- - '00000020: 60 5F 20 3F D8 E2 D6 E2 A3 02 D6 5A E4 D9 E7 68 ' ... -test_run:grep_log('default', '00000030:.*') +test_run:wait_log('default', '00000030:.*', nil, 10) --- - '00000030: A1 53 8D 53 60 5F 20 3F D8 E2 D6 E2 ' ... +-- we expect nothing below, so don't wait test_run:grep_log('default', '00000040:.*') --- - null diff --git a/test/box/net.box.test.lua b/test/box/net.box.test.lua index bea43002dbd37609ed194b22d5202f5e520be4f0..96b15c7780f9fa6ab8a7d8e1b7e53ca80bbc4fec 100644 --- a/test/box/net.box.test.lua +++ b/test/box/net.box.test.lua @@ -1531,11 +1531,12 @@ data = string.fromhex('3C'..string.rep(require('digest').sha1_hex('bcde'), 3)) sock:write(data) sock:close() -test_run:grep_log('default', 'Got a corrupted row.*') -test_run:grep_log('default', '00000000:.*') -test_run:grep_log('default', '00000010:.*') -test_run:grep_log('default', '00000020:.*') -test_run:grep_log('default', '00000030:.*') +test_run:wait_log('default', 'Got a corrupted row.*', nil, 10) +test_run:wait_log('default', '00000000:.*', nil, 10) +test_run:wait_log('default', '00000010:.*', nil, 10) +test_run:wait_log('default', '00000020:.*', nil, 10) +test_run:wait_log('default', '00000030:.*', nil, 10) +-- we expect nothing below, so don't wait test_run:grep_log('default', '00000040:.*') box.cfg{log_level=log_level}