Pause for 5 seconds before dumping PerfMon results in postFinalize
This is a practical workaround to an issue that is observed in threads>0
jobs. In these jobs, if both ChronoStatSvc
and PerfMonSvc
are configured, ChronoStatSvc
keeps dumping the results table after its finalize
, even after issuing an SvcPostFinalize
incident which causes PerfMonSvc
's output to be garbled in the log file. With this MR we delay dumping PerfMonSvc
results for 5 seconds to avoid this until the root cause of the problem is fixed properly.
Please note that I'm well aware that PerfMonSvc
is not MT-safe and this is only for some trigger related tests w/ a single-thread job.