Closed NickLaMuro closed 6 years ago
@djberg96 - Can you test this by provisioning an instance? also, can we add some specs?
also, can we add some specs?
So this is what I was hoping to do as well, but wasn't sure how we wanted to approach it. Right now, I don't think there are any tests in place that attempt to make API calls, and stubbing that kinda of stuff in my experience leads to the API changing and then tests giving false positives of passing (that said, probably better than the issue we ran into here).
Anyway, didn't want to make a decision on how we wanted to go about that in this PR, so I didn't. That said, wouldn't mind opening up another issue to discuss how we would do testing for this in the future.
I will add some specs in a separate PR as the code is definitely broken currently.
When speeding up the
list_all_private_images
method, thelist_all
method was updated with theskip_accessors_definition
boolean flag to that and associated methods. This was not, though, applied to theStorageAccountService#list_private_images
method, which works on just a single storage account instead of all of them.This updates
#list
in both theStorageAccountService
version, and the base class to allow it to support this flag.Links