From 7201e466aa6632515904183f096c31828d3b72c0 Mon Sep 17 00:00:00 2001 From: Georgy Moiseev Date: Thu, 16 May 2024 11:16:28 +0300 Subject: [PATCH 1/2] test: bump cluacov Bump cluacov version used for tests. New version should include fix for running tests on ARM. Closes #211 --- deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps.sh b/deps.sh index c3ab0d13..805ecd11 100755 --- a/deps.sh +++ b/deps.sh @@ -16,7 +16,7 @@ $TTCTL rocks install luacheck 0.25.0 $TTCTL rocks install luacov 0.13.0 # cluacov, luacov-coveralls and dependencies -$TTCTL rocks install https://raw.githubusercontent.com/mpeterv/cluacov/master/cluacov-scm-1.rockspec +$TTCTL rocks install https://raw.githubusercontent.com/luarocks/cluacov/master/cluacov-scm-1.rockspec $TTCTL rocks install https://raw.githubusercontent.com/LuaDist/dkjson/master/dkjson-2.5-2.rockspec $TTCTL rocks install https://raw.githubusercontent.com/keplerproject/luafilesystem/master/luafilesystem-scm-1.rockspec $TTCTL rocks install https://raw.githubusercontent.com/moteus/lua-path/master/rockspecs/lua-path-scm-0.rockspec From 4d7e5f8fb918e95340176156f01417b4a40614bd Mon Sep 17 00:00:00 2001 From: Georgy Moiseev Date: Thu, 16 May 2024 11:44:52 +0300 Subject: [PATCH 2/2] test: skip flaky reload tests on Tarantool 1.10 Since 1.10 is EOLed, it's not worth to spend time on stabilizing tests for it (especially for complicated scenarios like Cartridge roles reload). --- test/helper.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/helper.lua b/test/helper.lua index fd781769..394b3584 100644 --- a/test/helper.lua +++ b/test/helper.lua @@ -818,6 +818,12 @@ function helpers.skip_old_tarantool_cartridge_hotreload() t.skip_if(luatest_utils.version_ge(tarantool_version, luatest_utils.version(2, 0, 0)) and luatest_utils.version_ge(luatest_utils.version(2, 5, 1), tarantool_version), "Cartridge hotreload tests stuck for vshard 0.1.22+ on Tarantool 2.2, 2.3 and 2.4") + + -- Flaky tests for Tarantool 1.10.15. + -- s2-replica | E> ER_READONLY: Can't modify data because this instance is in read-only mode. + -- s2-replica | E> ApplyConfigError: Can't modify data because this instance is in read-only mode. + t.skip_if(luatest_utils.version_ge(luatest_utils.version(2, 0, 0), tarantool_version), + "Flaky tests for Tarantool 1.10.15") end function helpers.build_default_cartridge_cfg(srv_name)