Broken master: rspec ./ee/spec/models/epic_spec.rb
We have the following failure on master
Finished in 12 minutes 4 seconds (files took 19.47 seconds to load)
1611 examples, 5 failures, 64 pending
Failed examples:
rspec ./ee/spec/models/epic_spec.rb:121 # Epic#valid_parent? basic checks returns false when level is too deep
rspec ./ee/spec/models/epic_spec.rb:145 # Epic#valid_parent? when adding an Epic that has existing children returns false when total depth after adding would exceed limit
rspec ./ee/spec/models/epic_spec.rb:169 # Epic#valid_parent? when parent has ancestors and epic has children returns false when total depth after adding would exceed limit
rspec ./ee/spec/models/epic_spec.rb:188 # Epic#valid_parent? when hierarchy is cyclic returns false when child epic is parent of the given parent
rspec ./ee/spec/models/epic_spec.rb:195 # Epic#valid_parent? when hierarchy is cyclic returns false when child epic is an ancestor of the given parent
! Generating reports is disabled. To enable it, please set the `FLAKY_RSPEC_GENERATE_REPORT=1` !
It seems it's only present on MySQL https://gitlab.com/gitlab-org/gitlab-ee/-/jobs/208003463