[Tarantool-patches] [PATCH 1/1] test: fix fio.test.lua flakiness

Kirill Yukhin kyukhin at tarantool.org
Fri Mar 6 18:45:03 MSK 2020


Hello,

On 05 мар 22:15, Vladislav Shpilevoy wrote:
> In 89c73e64c071cb7402406bf1eb8d767d4dfe4e6e ("fio: respect
> $TMPDIR in fio.tempdir(), when it is set") was added a test
> checking that fio.tempdir() returns a path to a folder, stored
> by a path specified in $TMPDIR environment variable.
> 
> Check was done by calling Lua returned_path:find(tmpdir_path).
> If tmpdir path contained 'special' characters such as '.', it
> didn't match, because string.find() takes a regular expression,
> not just a string.
> 
> string.startswith() works fine.
> 
> Follow-up #4794
> ---
> Branch: http://github.com/tarantool/tarantool/tree/gerold103/gh-4794-follow-up-test
> Issue: https://github.com/tarantool/tarantool/issues/4794

I've checked your patch into master as obvious.

--
Regards, Kirill Yukhin


More information about the Tarantool-patches mailing list