Skip to content

Commit

Permalink
Fix read interaction test cases dependencies (#30548)
Browse files Browse the repository at this point in the history
* Fix read interaction test cases dependencies

There was a copy-paste typo in few test cases where an event response
flag was checked even though no event was generated. This has worked
because all these test cases have shared event manager state and once
event was generated by one test case other tests could see it.

Add initialize/terminate functions which setup/destroy event manager for
every test case individually, so in the future it will not be possible
to share event manager state between test cases.

* Restyled by clang-format

* Use setup/teardown names compatible with Google Test

* Shutdown engine after TestSubscribeEarlyReport test

* Reinitialize the exchange manager before running each test

* Remove unused variables

---------

Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
2 people authored and pull[bot] committed Feb 17, 2024
1 parent aa879fd commit 1389018
Showing 1 changed file with 87 additions and 75 deletions.
Loading

0 comments on commit 1389018

Please sign in to comment.