Sha256: 6eb6e16e8e0d8abdf80ccd9ff264dd2c467f7333965d86a9c50d7a15c84b8e22
Contents?: true
Size: 545 Bytes
Versions: 44
Compression:
Stored size: 545 Bytes
Contents
require "spec_helper" require "gitlab_exporter/ruby" require "gitlab_exporter/prober" describe GitLab::Exporter::RubyProber do let(:prober) { GitLab::Exporter::Prober.new(**options) } let(:options) do { ruby: { class_name: described_class.to_s, methods: %w[probe_gc], opts: { quantiles: false } } } end it "probes and returns GC stats" do prober.probe_all output = StringIO.new prober.write_to(output) expect(output.string).to match(/ruby_gc_stat_count \d+ \d+/) end end
Version data entries
44 entries across 44 versions & 1 rubygems