[PATCH 2/2] tests: Don't sleep in run-debuginfod-find.sh, but wait till ready.

2019-11-24 Thread Mark Wielaard
Wait for the debuginfod server to finish and use the metrics to see when a server is ready for the next test instead of sleeping. Also remove DEBUGINFOD_TEST_WEBAPI_SLEEP. Signed-off-by: Mark Wielaard --- debuginfod/ChangeLog | 6 +++ debuginfod/debuginfod.cxx| 8 --- tests/ChangeL

Add some metrics to debuginfod and use them to make test sleep less

2019-11-24 Thread Mark Wielaard
Hi, The following two patches add some metrics to debuginfod that can be used ito see whether the scanners are still finding new executables, debuginfo files or find new sources. They can also be used in the run-debuginfod-find.sh testcase to see whether the server is ready or not for the next tes

[PATCH 1/2] debuginfod: Add found_{executable,debuginfo,sourcerefs}_total metrics.

2019-11-24 Thread Mark Wielaard
Keeps metrics of how many executables, debuginfo and sourcerefs were found in total for file and rpm scanners. Signed-off-by: Mark Wielaard --- debuginfod/ChangeLog | 8 debuginfod/debuginfod.cxx | 24 2 files changed, 32 insertions(+) diff --git a/debugi