tarantool / metrics

Metric collection library for Tarantool
MIT License
39 stars 23 forks source link

Rework flaky psutils test #429

Closed DifferentialOrange closed 1 year ago

DifferentialOrange commented 1 year ago

psutils_linux_clean_info.test_clean_thread_info is a test that sometimes failed on CI runs, see [1] for example. You cannot guarantee that the quantity of coio threads would be bigger for {worker_pool_threads = 100} rather than {worker_pool_threads = 1}, since it defines only the upper threshold. The new version of the test checks that there are at least three threads in metrics (after box.cfg{}, there should be at least tx, iproto and wal) and each thread has system and user time metrics.

  1. https://github.com/tarantool/metrics/actions/runs/4015805052/jobs/6897997400#step:7:254

I didn't forget about

Part of tarantool/tarantool#7725