Slow test in ee/spec/finders/autocomplete/vulnerabilities_autocomplete_finder_spec.rb | Autocomplete::VulnerabilitiesAutocompleteFinder#execute when vulnerable is group behaves like autocomplete vulnerabilities finder when the given user is not nil whe...
Test metadata (don't modify)
Field | Value |
---|---|
File | ee/spec/finders/autocomplete/vulnerabilities_autocomplete_finder_spec.rb#L92 |
Description | Autocomplete::VulnerabilitiesAutocompleteFinder#execute when vulnerable is group behaves like autocomplete vulnerabilities finder when the given user is not nil when user has access to project when security dashboards are enabled when multiple vulnerabilities are found returns max 5 items |
Test level | unit |
Hash | e1a420d3e5fc0cf8c52c1cd49e2bc2882b224eca3266990034226c806c0c236e |
Duration | 46.1 seconds |
Expected duration | < 45.4 seconds |
Slow tests were detected, please see the test speed best practices guide to improve them. More context available about this issue in the top slow tests guide.
Add allowed_to_be_slow: true
to the RSpec test if this is a legit slow test and close the issue.