{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/3836","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/3836/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/3836/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/3836/events","html_url":"https://github.com/hashicorp/terraform/issues/3836","id":116003911,"number":3836,"title":"vSphere provider - question about acceptance tests","user":{"login":"chrislovecnm","id":335402,"avatar_url":"https://avatars.githubusercontent.com/u/335402?v=3","gravatar_id":"","url":"https://api.github.com/users/chrislovecnm","html_url":"https://github.com/chrislovecnm","followers_url":"https://api.github.com/users/chrislovecnm/followers","following_url":"https://api.github.com/users/chrislovecnm/following{/other_user}","gists_url":"https://api.github.com/users/chrislovecnm/gists{/gist_id}","starred_url":"https://api.github.com/users/chrislovecnm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrislovecnm/subscriptions","organizations_url":"https://api.github.com/users/chrislovecnm/orgs","repos_url":"https://api.github.com/users/chrislovecnm/repos","events_url":"https://api.github.com/users/chrislovecnm/events{/privacy}","received_events_url":"https://api.github.com/users/chrislovecnm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hashicorp/terraform/labels/core","name":"core","color":"cccccc"},{"url":"https://api.github.com/repos/hashicorp/terraform/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-10T01:11:36Z","updated_at":"2015-11-11T18:15:17Z","closed_at":null,"body":"I know that the `resourceVSphereVirtualMachineRead` function is returned by the functions that create virtual machines. I need to test the read function specifically.  I have added a new acceptance test which is passing, but I don't believe that it should be.  The values for the new variables 'seem' to be returning from vsphere, but I don't think that they are.\r\n\r\nHow would one just test that method?\r\n\r\nCode reference: https://github.com/chrislovecnm/terraform/blob/725a735c0d2c398bc7432a3adfbeadd76df55c4a/builtin/providers/vsphere/resource_vsphere_virtual_machine.go#L360"},"comment":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/comments/155865597","html_url":"https://github.com/hashicorp/terraform/issues/3836#issuecomment-155865597","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/3836","id":155865597,"user":{"login":"chrislovecnm","id":335402,"avatar_url":"https://avatars.githubusercontent.com/u/335402?v=3","gravatar_id":"","url":"https://api.github.com/users/chrislovecnm","html_url":"https://github.com/chrislovecnm","followers_url":"https://api.github.com/users/chrislovecnm/followers","following_url":"https://api.github.com/users/chrislovecnm/following{/other_user}","gists_url":"https://api.github.com/users/chrislovecnm/gists{/gist_id}","starred_url":"https://api.github.com/users/chrislovecnm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrislovecnm/subscriptions","organizations_url":"https://api.github.com/users/chrislovecnm/orgs","repos_url":"https://api.github.com/users/chrislovecnm/repos","events_url":"https://api.github.com/users/chrislovecnm/events{/privacy}","received_events_url":"https://api.github.com/users/chrislovecnm/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T18:15:17Z","updated_at":"2015-11-11T18:15:17Z","body":"@jen20 we have stock acceptance tests for the vsphere provider, but I need to do more debugging.  Should I put in a request for an enhancement to the acceptance test framework to support read?  I am thinking that I am just going to write an api level test outside of terraform."}}