JENKINS-21009 Fixed a flapping testcase