Added RepeatRule, to help debug flaky tests.
Added debug logging for flaky test