Fixed stubbing for Gitlab::Metrics specs
If the measure method uses Transaction.current directly the SQL subscriber (Subscribers::ActiveRecord) will add timings of queries triggered by DB cleaner.
Showing
Please register or sign in to comment