fix checking of lines in log files in HA tests

3 jobs for searching-in-files in 6 minutes and 17 seconds (queued for 5 seconds)