Fixed possible cluster not ready on mapreduce tests