-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Fix and reenable TestUserCredentialsPropertiesOnWindows #46083
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
Conversation
…denied exception)
|
Tagging subscribers to this area: @eiriktsarpalis Issue DetailsRemoval of the user via The user might have been missing rights to read and execute Now it works as expected:
|
eiriktsarpalis
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If CI is happy I'm happy.
|
/azp run runtime-libraries outerloop |
|
No pipelines are associated with this pull request. |
|
/azp list |
|
/azp run runtime-libraries-coreclr outerloop-windows |
|
Azure Pipelines successfully started running 1 pipeline(s). |
So here we go again /azp run runtime-libraries-coreclr outerloop-windows |
|
/azp run runtime-libraries-coreclr outerloop-windows |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
The CI has failed with a very interesting error: edit: because 'netapi32.dll' is not available on nano |
# Conflicts: # src/libraries/System.Diagnostics.Process/tests/ProcessStartInfoTests.cs
|
/azp run runtime-libraries-coreclr outerloop-windows |
|
Azure Pipelines successfully started running 1 pipeline(s). |
The CI is happy and so am I ;) |

Removal of the user via
Interop.NetUserDelwas never working because it was missingCharSet = CharSet.Unicode. I've fixed that and changed the test to:NERR_UserNotFound) if the removal of the account failedThe user might have been missing rights to read and execute
dotnet.exe(for example whenbuild.cmdwas executed from Admin PSW) and in that case the test was throwingAccess deniedfromProcess.Start. I've changed the test to always add the permission to read and execute before running the.exeNow it works as expected:
Fixes #18978