Skip to content

Fix flaky test in releases_controller_spec.rb

Stan Hu requested to merge sh-fix-flaky-releases-controller-spec into master

Multiple release objects would be created in the test with the same tag (v1.1.0), which caused random failures, depending on what the database returned for Releases.find_by_tag!. Since there is no uniqueness constraint, we fix this problem by changing the tag to a unique name.

Closes #37372 (closed)

Edited by Stan Hu

Merge request reports