fixed flake errors
Merge pull request #953 from slouderm/test_vm_discovery

fixed flake errors