Before deleting the instance, check if the instance exists 17/15717/3
authordongwenjuan <dong.wenjuan@zte.com.cn>
Thu, 16 Jun 2016 09:30:41 +0000 (17:30 +0800)
committerdongwenjuan <dong.wenjuan@zte.com.cn>
Fri, 17 Jun 2016 00:38:23 +0000 (08:38 +0800)
commit1b42fe2306b18996f53e5d987d7c5d106a7325f3
tree7a06e512473b813d5f6821754df4cb4739c6ebf7
parent0a0d77039d4d2ece184461b78e65a7c6737d4b5a
Before deleting the instance, check if the instance exists

The instance may not exist if there is a error before creating
instance or it failed to create, run the `cleanup` to delete the
non-existent instance will raise an error

Change-Id: I13e4b63be952967605093a4427f5b0ac4be280c3
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
tests/run.sh