-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DisableHostNetworkConnection requires UAC elevation #4
Comments
@IgorMilavec I have several fixes to stabilize the integration tests. I'll submit a PR when the open PR is merged. That said ... I have no solution for some "(loss of) network connectivity" related tests like this one. |
I access my dev machine over RDP and these tests would cut me off. |
We'd have to test it. Can you have a look at this? |
I have done some preliminary tests and pausing the docker container works. I'll prepare it and make a PR after you submit your pending changes, otherwise we'll have a lot of merge conflicts. |
If your system has UAC enabled and you run VS normal/unelevated, the
DisableHostNetworkConnection
calls fail with:Could we mark tests as inconclusive instead of failing them in this case?
DisableHostNetworkConnection
could usenew Win32Exception(retValue)
, this would provide better error information.The text was updated successfully, but these errors were encountered: