[PATCH v1] test: app/socket flaky fails at 1118 line

Vladimir Davydov vdavydov.dev at gmail.com
Wed Aug 14 15:12:18 MSK 2019


On Wed, Aug 14, 2019 at 08:27:59AM +0300, Alexander V. Tikhonov wrote:
> diff --git a/test/app/socket.test.lua b/test/app/socket.test.lua
> index 7ae9a98aa..68ac4b4ac 100644
> --- a/test/app/socket.test.lua
> +++ b/test/app/socket.test.lua
> @@ -359,7 +359,12 @@ test_run:cmd("setopt delimiter ''");
>  
>  s = socket.tcp_connect('127.0.0.1', port)
>  ch = fiber.channel()
> -f = fiber.create(function() s:read(12) ch:put(true) end)
> +test_run:cmd("setopt delimiter ';'")
> +f = fiber.create(function()
> +    s:read(12)
> +    ch:put(true)
> +end);
> +test_run:cmd("setopt delimiter ''");
>  s:close()
>  ch:get(1)
>  s:error()

For the record. Discussed f2f, agreed that this patch doesn't make any
difference. There must be some other explanation of the test failure.



More information about the Tarantool-patches mailing list