Skip to content

Fix open_transactions_baseline to check the base class

Thong Kuah requested to merge fix_open_transactions_baseline into master

What does this MR do and why?

Fix open_transactions_baseline to check the base class

We are querying the number of open transactions which is per connection, so we have to do the same for the open_transactions_baseline.

This fixes tests that test code for inside_transaction?. Without this fix, in test we get:

project.class.inside_transaction?
=> true

With this fix:

project.class.inside_transaction?
=> false

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

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.

Edited by Thong Kuah

Merge request reports

Loading