Fix test failures in local mode due to updateEpoch