Fix an intermittent test failure.