Skip to content

Commit e7e49a6

Browse files
test: skip flaky test for all runs
1 parent 4b2a6c4 commit e7e49a6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/tarantool/cpu_metrics_test.lua

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ end)
1414

1515
g.test_cpu = function(cg)
1616
cg.server:exec(function()
17+
t.skip('Flaky test, see https://github.com/tarantool/metrics/issues/492')
18+
1719
local metrics = require('metrics')
1820
local cpu = require('metrics.tarantool.cpu')
1921
local utils = require('test.utils') -- luacheck: ignore 431
@@ -26,7 +28,6 @@ g.test_cpu = function(cg)
2628
t.assert(user_time_metric)
2729
t.assert(system_time_metric)
2830
t.assert(user_time_metric[1].value > 0)
29-
t.xfail_if(not (system_time_metric[1].value > 0), 'Flaky test')
3031
t.assert(system_time_metric[1].value > 0)
3132
end)
3233
end

0 commit comments

Comments
 (0)