gitlab-org--gitlab-foss/spec/lib
Aleksei Lipniagov 1f9edb7c4a Call `GC::Profiler.clear` only in one place
Previously, both InfluxSampler and RubySampler were relying on the
`GC::Profiler.total_time` data which is the sum over the list
of captured GC events. Also, both samplers asynchronously called
`GC::Profiler.clear` which led to incorrect metric data because
each sampler has the wrong assumption it is the only object who calls
`GC::Profiler.clear` and thus could rely on the gathered results between
such calls.

We should ensure that `GC::Profiler.total_time` is called only in one
place making it possible to rely on accumulated data between such wipes.

Also, we need to track the amount of profiler reports we lost.
2019-08-02 09:04:32 +00:00
..
api Add frozen_string_literal to spec/lib (part 1) 2019-07-26 13:25:07 +12:00
backup Add frozen_string_literal to spec/lib (part 1) 2019-07-26 13:25:07 +12:00
banzai Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq 2019-07-29 13:19:50 -05:00
bitbucket Add frozen_string_literal to spec/lib (part 1) 2019-07-26 13:25:07 +12:00
bitbucket_server Add frozen_string_literal to spec/lib (part 1) 2019-07-26 13:25:07 +12:00
constraints Add frozen_string_literal to spec/lib (part 1) 2019-07-26 13:25:07 +12:00
container_registry Explicitly reject non http(s) schemes 2019-07-29 19:20:30 -03:00
feature Add frozen_string_literal to spec/lib (part 1) 2019-07-26 13:25:07 +12:00
gitaly Add frozen_string_literal to spec/lib (part 1) 2019-07-26 13:25:07 +12:00
gitlab Call `GC::Profiler.clear` only in one place 2019-08-02 09:04:32 +00:00
google_api Explicitly set master_auth for new GKE clusters 2019-03-13 16:28:04 +13:00
json_web_token
mattermost Protect Gitlab::HTTP against DNS rebinding attack 2019-05-30 10:47:31 -03:00
microsoft_teams
object_storage Fix misspellings in app/spec executable lines 2019-02-27 22:41:34 +09:00
omni_auth/strategies
peek/views Fix SystemStackError when Peek bar is active with Rugged calls 2019-07-31 15:47:19 -07:00
prometheus Fix pid discovery for Unicorn in PidProvider 2019-07-26 15:02:21 +00:00
quality Resolves confusion within spec rake tasks 2019-07-23 18:34:50 -06:00
rspec_flaky
safe_zip
sentry Handle possible HTTP exception for Sentry client 2019-04-07 07:51:36 +00:00
serializers Remove dead MySQL code 2019-07-23 16:53:03 +01:00
system_check
after_commit_queue_spec.rb Add frozen_string_literal to spec/lib (part 1) 2019-07-26 13:25:07 +12:00
event_filter_spec.rb Add frozen_string_literal to spec/lib (part 1) 2019-07-26 13:25:07 +12:00
expand_variables_spec.rb Add frozen_string_literal to spec/lib (part 1) 2019-07-26 13:25:07 +12:00
extracts_path_spec.rb Add frozen_string_literal to spec/lib (part 1) 2019-07-26 13:25:07 +12:00
feature_spec.rb Add new Feature.remove method 2019-08-01 08:29:14 +10:00
file_size_validator_spec.rb Add frozen_string_literal to spec/lib (part 1) 2019-07-26 13:25:07 +12:00
forever_spec.rb Add frozen_string_literal to spec/lib (part 1) 2019-07-26 13:25:07 +12:00
gitlab_spec.rb Backport EE changes made to the scripts/ directory 2019-07-29 13:53:20 +02:00
milestone_array_spec.rb
system_check_spec.rb
uploaded_file_spec.rb