Skip to content

owls 103828 - Integration test changes to match the new behavior of Domain Available condition #3603

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

Merged
merged 1 commit into from
Nov 2, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ void testCompleteAvailableConditionWithNever() {
* Verify all the cluster servers pods will be shutdown.
* Verify the following conditions are generated:
* type: Completed, status: true
* type: Available, status: False
* type: Available, status: true
* Verify no Failed type condition generated.
*/
@Test
Expand Down Expand Up @@ -289,7 +289,7 @@ void testCompleteAvailableConditionWithReplicaZero() {
DOMAIN_STATUS_CONDITION_COMPLETED_TYPE, "True");
// verify the condition Available type has status True
checkDomainStatusConditionTypeHasExpectedStatus(domainUid, domainNamespace1,
DOMAIN_STATUS_CONDITION_AVAILABLE_TYPE, "False");
DOMAIN_STATUS_CONDITION_AVAILABLE_TYPE, "True");
// verify there is no status condition type Failed
verifyDomainStatusConditionTypeDoesNotExist(domainUid, domainNamespace1, DOMAIN_STATUS_CONDITION_FAILED_TYPE);

Expand All @@ -303,7 +303,7 @@ void testCompleteAvailableConditionWithReplicaZero() {
* Verify all the cluster servers pods will be shutdown.
* Verify the following conditions are generated:
* type: Completed, status: true
* type: Available, status: False
* type: Available, status: true
* Verify no Failed type condition generated.
*/
@Test
Expand Down Expand Up @@ -337,7 +337,7 @@ void testCompleteAvailableConditionWithClusterNever() {
DOMAIN_STATUS_CONDITION_COMPLETED_TYPE, "True");
// verify the condition Available type has status True
checkDomainStatusConditionTypeHasExpectedStatus(domainUid, domainNamespace1,
DOMAIN_STATUS_CONDITION_AVAILABLE_TYPE, "False");
DOMAIN_STATUS_CONDITION_AVAILABLE_TYPE, "True");
// verify there is no status condition type Failed
verifyDomainStatusConditionTypeDoesNotExist(domainUid, domainNamespace1, DOMAIN_STATUS_CONDITION_FAILED_TYPE);
} finally {
Expand Down