Skip to content

Fix specs not running in instrumentation_helper_spec.rb

Stan Hu requested to merge sh-fix-instrumentation-spec into master

What does this MR do and why?

The extra context block was preventing rpsec-parameterized from running the test. This commit fixes the tests so that they now run.

We also need to drop the millisecond tests for .queue_duration_for_job since travel_to rounds to the nearest second.

Relates to #430870

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Stan Hu

Merge request reports