Skip to content

Fix flaky parallel design management uploads spec

What does this MR do and why?

Switch to non-transactional tests so that threads will not share the same DB connection. If they share the same connection, our transaction detection code would fail when the other thread is inside a transaction.

References

Related to #570457 (closed)

How to set up and validate locally

I can reproduce the flakiness pretty easily with just:

bin/rspec spec/graphql/mutations/design_management/upload_spec.rb:71

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Heinrich Lee Yu

Merge request reports

Loading