[Validator]fixed test failure on PR#8592