lint_factories_shared_examples.rb cannot be properly retried in the new RSpec process

!157271 (merged) broke spec/models/audit_event_spec.rb for FOSS and we fixed it at !160362 (merged)

In the introducing merge request, we did run the spec in the FOSS pipeline, and here's the job: https://gitlab.com/gitlab-org/gitlab-foss/-/jobs/7374351123

It did fail with:

Finished in 19 minutes 30 seconds (files took 1 minute 9.27 seconds to load)
2635 examples, 3 failures, 8 pending
Failed examples:
rspec './spec/support/shared_examples/lint_factories_shared_examples.rb[6:1:1:1:6:1]' # Lint factories for AuditEvent with saas, license, and factory defaults behaves like factory audit_event factory linting :instance_event trait does not raise error when created
rspec './spec/support/shared_examples/lint_factories_shared_examples.rb[6:1:4:1:1]' # Lint factories for AuditEvent with saas, license, and factory defaults behaves like factory instance_audit_event factory does not raise error when built
rspec './spec/support/shared_examples/lint_factories_shared_examples.rb[6:1:4:1:2]' # Lint factories for AuditEvent with saas, license, and factory defaults behaves like factory instance_audit_event factory does not raise error when created

However, later we retried them in a new RSpec process, and that failed to run it properly, and therefore it's considered successful and flaky:

Finished in 14.44 seconds (files took 3 minutes 38.8 seconds to load)
0 examples, 0 failures

This is discovered at !160362 (comment 2011716701)

Edited by Lin Jen-Shin