Fix robot test that currently fails randomly on jenkins.