Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core-tests): wait for SyncNodeInfo calls in fms tests #16645

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

gustavogama-cll
Copy link
Contributor

After moving the "SyncNodeInfo" calls to a goroutine, some unit tests could fail sporadically because the mocking library expects the fms client calls to be executed along with the database calls. This PR fixes this by ensuring we wait for the "SyncNodeInfo" calls before ending the test and running the mock assertions.

Copy link
Contributor

github-actions bot commented Feb 28, 2025

AER Report: CI Core ran successfully ✅

aer_workflow , commit

AER Report: Operator UI CI ran successfully ✅

aer_workflow , commit

@gustavogama-cll gustavogama-cll force-pushed the ggama/fix-core-tests-wait-syncnodeinfo-fms-tests branch from 631bf95 to db140ad Compare February 28, 2025 21:22
@cl-sonarqube-production
Copy link

@gustavogama-cll gustavogama-cll marked this pull request as ready for review February 28, 2025 22:14
@gustavogama-cll gustavogama-cll requested review from a team as code owners February 28, 2025 22:14
@gustavogama-cll gustavogama-cll changed the title fix(core-tests): ensure we wait for SyncNodeInfo calls in fms tests fix(core-tests): wait for SyncNodeInfo calls in fms tests Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant