Tests: Fix gmon file not always flushing

This commit is contained in:
Wilson Snyder 2021-03-12 23:05:56 -05:00
parent abcb9cc91b
commit d1becbb793

View File

@ -34,6 +34,8 @@ sub dotest {
check_finished => 1,
);
sleep 4; # Disk flush wait
my $gmon_path;
$gmon_path = $_ foreach (glob "$Self->{obj_dir}/gmon.out.*");
$gmon_path or error("Profiler did not create a gmon.out");