Hi Sonal, That is because test_03_grant_account_vm is running after test_02_grant_domain_vm, where we have granted domain2 VM to account_1B. At the end of test_02_grant_domain_vm, we didn't revoke this granting, so it will still take effect in test_03_grant_account_vm. Therefore, in test_03, account_1B should have two grants effective, and thus he can see 3 VMs.
Thanks -min From: Sonal Ojha <[email protected]<mailto:[email protected]>> Date: Monday, May 12, 2014 5:04 AM To: Prachi Damle <[email protected]<mailto:[email protected]>>, Min Chen <[email protected]<mailto:[email protected]>> Cc: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: [QUERY] [IAM TEST CASE] Vritual Machine IAM test scenarios Hello, I have a small query regarding the sample test case written for virtual machine entity type for the IAM plugin. The test case test_03_grant_account_vm which is to validate the below mentioned scenarios is returning vms for all the three accounts (account_1A, account_1B and account_2A) as the list_vm_response. # Validate the following # 1. Grant account_1A VM access to account_1B # 2. listVM command should return account_1A and account_1B VMs. Shouldn't it be returning vms for the two accounts (account_1A and account_1B)? Kindly help to understand this scenario. -- Thanks and Regards, Sonal Ojha ▪ Sr.Engineer - Product Development ▪ Sungard Availability Services, India 2nd Floor, Wing 4, Cluster D, MIDC Kharadi Knowledge Park, Pune - 411 014 ▪ Office: 267-234-9014 ▪ Mobile: +91 9922412645 ▪ [email protected]<mailto:[email protected]> ▪ www.sungardas.<http://www.sungardas.com/>in [Logo]<http://www.sungardas.com/> [cid:[email protected]]<http://blog.sungardas.com/> [cid:[email protected]] <http://www.youtube.com/user/SunGardAS> [cid:[email protected]] <https://plus.google.com/u/0/102459878242108588663/posts> [cid:[email protected]] <https://www.facebook.com/SunGardAS> [cid:[email protected]] <http://www.linkedin.com/company/sungard-availability-services> [cid:[email protected]] <https://twitter.com/SunGardAS> CONFIDENTIALITY: This e-mail (including any attachments) may contain confidential, proprietary and privileged information, and unauthorized disclosure or use is prohibited. If you received this e-mail in error, please notify the sender and delete this e-mail from your system.
