From 540938fe2c8b4f79b379c04cc79cd4fcf1c36fa6 Mon Sep 17 00:00:00 2001 From: Igor Zolotarev Date: Fri, 19 Apr 2024 12:22:28 +0300 Subject: [PATCH] Mark test as flaky --- test/tarantool/cpu_metrics_test.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/test/tarantool/cpu_metrics_test.lua b/test/tarantool/cpu_metrics_test.lua index 92435d1c..2abcdd94 100644 --- a/test/tarantool/cpu_metrics_test.lua +++ b/test/tarantool/cpu_metrics_test.lua @@ -26,6 +26,7 @@ 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