Hanging spec: spec/features/protected_branches_spec.rb

Example: https://gitlab.com/gitlab-org/gitlab/-/jobs/2897893583.

Knapsack report generator started!
Run options: exclude {:quarantine=>true, :level=>"migration"}
Test environment set up in 0.484063297 seconds
Protected Branches
Starting the Capybara driver server...
  logged in as developer
    Delete protected branch
Capybara starting Puma...
* Version 5.6.4 , codename: Birdie's Version
* Min threads: 0, max threads: 4
* Listening on unix:///tmp/20220817-468-172r9ne
      does not allow developer to remove protected branch
  logged in as maintainer
    allows to create a protected branch with name containing HTML tags
    Delete protected branch
      removes branch after modal confirmation
  logged in as admin
    explicit protected branches
      allows creating explicit protected branches
      displays the last commit on the matching branch if it exists
      displays an error message if the named branch does not exist
    wildcard protected branches
      allows creating protected branches with a wildcard
      displays the number of matching branches
      displays all the branches matching the wildcard
    access control
      allows creating protected branches that Maintainers can push to
      allows updating protected branches so that Maintainers can push to them
      allows creating protected branches that Developers + Maintainers can push to
      allows updating protected branches so that Developers + Maintainers can push to them

Potentially it's https://docs.gitlab.com/ee/development/testing_guide/flaky_tests.html#hanging-specs

Edited by Thong Kuah