J.Andreina created KNOX-490:
-------------------------------

             Summary: Listing and Deletion of Alias from an invalid Cluster 
name , returns successful message to the user .
                 Key: KNOX-490
                 URL: https://issues.apache.org/jira/browse/KNOX-490
             Project: Apache Knox
          Issue Type: Bug
          Components: KnoxCLI
            Reporter: J.Andreina


Listing and Deletion of Alias from an invalid Cluster name , returns successful 
message to the user .

Scenario1 :
=========

Step 1: Created Alias "alias1" in cluster "cluster1"
Step 2:  Deleted Alias "alias1" from cluster "cluster2"  (cluster2 does not 
have alias1)

{noformat}
omm@XXXXXXXX:/home/Knox/knox-0.6.0-SNAPSHOT/bin> ./knoxcli.sh delete-alias 
alias1 --cluster cluster2
alias1 has been successfully deleted.
{noformat}

Scenario 2:
=========
Step 1: Created Alias "alias1" in cluster "cluster1"
Step 2:  Listed Alias "cluster2"  (which is not available)

{noformat}
omm@XXXXXXXX:/home/Knox/knox-0.6.0-SNAPSHOT/bin> ./knoxcli.sh list-alias 
--cluster cluster2
Listing aliases for: cluster2

0 items.
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to