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 <commits@restyled.io>
  • Loading branch information
2 people authored and pull[bot] committed Jul 5, 2024
1 parent d0bb49e commit 2864697
Showing 1 changed file with 87 additions and 75 deletions.
Loading

0 comments on commit 2864697

Please sign in to comment.