Fix flaky acceptance test.