xenadmin/XenAdminTests/XenModelTests/ActionTests
Mihaela Stoica c395a8ce14 CA-233454: Fix the action test
Added an extra parameter to the CreateVmFastAction constructor, which is used to specify whether to set the VM's property IsBeingCreated. In order to set this property, we need to wait for the newly created VM to appear in the cache. But we cannot do this in the action test, because the cache is not being updated. Therefore the action needs skip this step when running from the tests. The IsBeingCreated property is only used in the UI, to refresh the PVS tab after the VM is created, so the accuracy of the action test (CreateVMFastActionTest) is not affected by this change.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-12-01 12:09:03 +00:00
..
AD CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
Hosts CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
VM CP-6083: Updated test. Prevent potential NullReferenceException. 2013-09-20 14:33:23 +01:00
ActionTest.cs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
ExportVMActionTest.cs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
NetworkingActionsTests.cs CP-14647: Intermediate check-in #8 2015-11-08 11:28:06 +00:00
VMActionsTest.cs CA-233454: Fix the action test 2016-12-01 12:09:03 +00:00