@@ -254,7 +254,7 @@ void testCompleteAvailableConditionWithNever() {
254
254
* Verify all the cluster servers pods will be shutdown.
255
255
* Verify the following conditions are generated:
256
256
* type: Completed, status: true
257
- * type: Available, status: False
257
+ * type: Available, status: true
258
258
* Verify no Failed type condition generated.
259
259
*/
260
260
@ Test
@@ -289,7 +289,7 @@ void testCompleteAvailableConditionWithReplicaZero() {
289
289
DOMAIN_STATUS_CONDITION_COMPLETED_TYPE , "True" );
290
290
// verify the condition Available type has status True
291
291
checkDomainStatusConditionTypeHasExpectedStatus (domainUid , domainNamespace1 ,
292
- DOMAIN_STATUS_CONDITION_AVAILABLE_TYPE , "False " );
292
+ DOMAIN_STATUS_CONDITION_AVAILABLE_TYPE , "True " );
293
293
// verify there is no status condition type Failed
294
294
verifyDomainStatusConditionTypeDoesNotExist (domainUid , domainNamespace1 , DOMAIN_STATUS_CONDITION_FAILED_TYPE );
295
295
@@ -303,7 +303,7 @@ void testCompleteAvailableConditionWithReplicaZero() {
303
303
* Verify all the cluster servers pods will be shutdown.
304
304
* Verify the following conditions are generated:
305
305
* type: Completed, status: true
306
- * type: Available, status: False
306
+ * type: Available, status: true
307
307
* Verify no Failed type condition generated.
308
308
*/
309
309
@ Test
@@ -337,7 +337,7 @@ void testCompleteAvailableConditionWithClusterNever() {
337
337
DOMAIN_STATUS_CONDITION_COMPLETED_TYPE , "True" );
338
338
// verify the condition Available type has status True
339
339
checkDomainStatusConditionTypeHasExpectedStatus (domainUid , domainNamespace1 ,
340
- DOMAIN_STATUS_CONDITION_AVAILABLE_TYPE , "False " );
340
+ DOMAIN_STATUS_CONDITION_AVAILABLE_TYPE , "True " );
341
341
// verify there is no status condition type Failed
342
342
verifyDomainStatusConditionTypeDoesNotExist (domainUid , domainNamespace1 , DOMAIN_STATUS_CONDITION_FAILED_TYPE );
343
343
} finally {
0 commit comments