Skip to content

Fix updating status in biosSettings and server CRD state transition#533

Merged
Nuckal777 merged 3 commits intomainfrom
impreovement
Nov 24, 2025
Merged

Fix updating status in biosSettings and server CRD state transition#533
Nuckal777 merged 3 commits intomainfrom
impreovement

Conversation

@nagadeesh-nagaraja
Copy link
Contributor

@nagadeesh-nagaraja nagadeesh-nagaraja commented Nov 21, 2025

Proposed Changes

make sure to update the status fields before moving the state of Server CRD by not allowing to move to Maintenance or reserved before Discovery State,
make sure to move to failed to state when the Flow state Fails in biosSettings CRD

}
})).Should(Succeed())

Eventually(Object(bmcVersion)).Should(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is causing flakiness as the state changes to Completed very quickly... depending on at which point in time the resource state was put to failed during the test.

},
}
// we wait for the server to be created first and the then deleted
Eventually(Get(server)).Should(Succeed())
Copy link
Contributor Author

Choose a reason for hiding this comment

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

make sure the server is deleted after its been created. else will cause unit test issues if we delete this before it was created and rest of the unit test will fail to have clean state.

@nagadeesh-nagaraja nagadeesh-nagaraja changed the title Fix updating status in biosSettings and server CRD Fix updating status in biosSettings and server CRD state transisition Nov 24, 2025
@nagadeesh-nagaraja nagadeesh-nagaraja changed the title Fix updating status in biosSettings and server CRD state transisition Fix updating status in biosSettings and server CRD state transition Nov 24, 2025
@Nuckal777 Nuckal777 merged commit 0fc7110 into main Nov 24, 2025
17 checks passed
@github-project-automation github-project-automation bot moved this to Done in Roadmap Nov 24, 2025
@Nuckal777 Nuckal777 deleted the impreovement branch November 24, 2025 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants