Resolve "Debug why the code execution time is much longer than before"
What does this MR do and why?
Reset the spec timeout to 300ms as https://jihulab.com/gitlab-cn/gitlab/-/blame/869e2fd86ec139c8239896db74642d0e68d89f42/jh/spec/spec_helper.rb?page=1#L30
The feature flag use_metric_definitions_for_events_list
has been removed on upstream https://gitlab.com/gitlab-org/gitlab/-/merge_requests/127586, and setting the timeout value less than 300 is fine according to the result on my local by testing ee/spec/lib/ee/gitlab/usage/service_ping_report_spec.rb
.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
None
How to set up and validate locally
None
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Closes #3273 (closed)