diff --git a/test/metrics-luatest/helper.lua b/test/metrics-luatest/helper.lua index 84bd15ee1297c88d8a895a6772bf3488d334d6c7..6dc9b7ed57c279e8e6b194fed44cfc01da03a94c 100644 --- a/test/metrics-luatest/helper.lua +++ b/test/metrics-luatest/helper.lua @@ -109,4 +109,12 @@ local function workaround_requires(path) end workaround_requires('test.utils') -workaround_requires('test.psutils_linux_test_payload') + +require('test.utils') +local test_root = fio.dirname( + fio.dirname(fio.abspath( + package.search('third_party.metrics.test.utils')))) -- luacheck: ignore + +package.loaded['test.utils'].LUA_PATH = os.getenv('LUA_PATH') .. + test_root .. '/?.lua;' .. + test_root .. '/?/init.lua;' diff --git a/third_party/metrics b/third_party/metrics index 080fb5bda32a5df44fc30604cfacbb3623aff90e..ea832276b61df2c7f9f0bbcf7a47e04635e88705 160000 --- a/third_party/metrics +++ b/third_party/metrics @@ -1 +1 @@ -Subproject commit 080fb5bda32a5df44fc30604cfacbb3623aff90e +Subproject commit ea832276b61df2c7f9f0bbcf7a47e04635e88705