Skip to content

Commit

Permalink
test: skip flaky test for all runs
Browse files Browse the repository at this point in the history
  • Loading branch information
DifferentialOrange committed Jul 9, 2024
1 parent 4b2a6c4 commit e7e49a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/tarantool/cpu_metrics_test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ end)

g.test_cpu = function(cg)
cg.server:exec(function()
t.skip('Flaky test, see https://github.com/tarantool/metrics/issues/492')

local metrics = require('metrics')
local cpu = require('metrics.tarantool.cpu')
local utils = require('test.utils') -- luacheck: ignore 431
Expand All @@ -26,7 +28,6 @@ g.test_cpu = function(cg)
t.assert(user_time_metric)
t.assert(system_time_metric)
t.assert(user_time_metric[1].value > 0)
t.xfail_if(not (system_time_metric[1].value > 0), 'Flaky test')
t.assert(system_time_metric[1].value > 0)
end)
end

0 comments on commit e7e49a6

Please sign in to comment.