forked from openstack-k8s-operators/nova-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The lib-common PR openstack-k8s-operators/lib-common#204 fixed the behavior of Conditions.Mirror(). So it now returns any Unknown condition before any True condition (except ReadyCondition True). It seems that our tests incorrectly assumed that NovaAPI becomes Ready after the StatefulSet is Ready. But in reality NovaAPI creates the KeystoneEndpoint *after* the StatefulSet is ready. So these tests passed only because of the original bug in the Mirror code returned a True condition from NovaAPI when it had DeploymentReady=True and KeystoneEndpointReady=Unknown status. As the bug is fixed now the test needs to make sure the KeystoneEndpoints are ready before it can expect that NovaAPI is ready.
- Loading branch information
Showing
7 changed files
with
48 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters