HOTFIX: SPARK-2208 local metrics tests can fail on fast machines