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

Ensure the the cluster reconciler status is set to be in simulation after each test #2160

Merged

Conversation

johscheuer
Copy link
Member

Description

Fixes a testing bug that was introduced in https://github.com/FoundationDB/fdb-kubernetes-operator/pull/2158/files#diff-d0ad2e8f0d701fc00f8cd16ca0799d0e7e3a6a508245c60e122770680d3498a5R897. The clusterReconciler is a global struct, so the value was never set back to true, which causes failures in some test cases.

Type of change

Please select one of the options below.

  • Bug fix (non-breaking change which fixes an issue)

Discussion

Testing

Ran unit test manually with the race flag.

Documentation

Follow-up

@johscheuer johscheuer added the bug Something isn't working label Nov 4, 2024
Copy link
Member Author

@johscheuer johscheuer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to merge those changes as only unit test code was changed.

@johscheuer johscheuer merged commit a1b7eba into FoundationDB:main Nov 4, 2024
7 of 8 checks passed
@johscheuer johscheuer deleted the fix-testing-race-condition branch November 4, 2024 12:08
@foundationdb-ci
Copy link

Result of fdb-kubernetes-operator-pr on Linux CentOS 7

  • Commit ID: 9d88547
  • Duration 3:10:01
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants