Asserting if vm in error state
Merge pull request #160 from sandip-d/master

Asserting if vm in error state