You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Update NamedPipe tests to inject \LOCAL\ in the paths for UAP so they can be reenabled for UAP #22432
Uap has some access restrictions when creating a NamedPipe, we are still figuring out with the Windows guys how should we do this and through which Win Api. So we need to tweak this tests to pass for uap as they apparently can only create local named pipes to within the app container package location.
Plan here is to inject \LOCAL\ into the paths the tests use when in appcontainer, and we'd be requiring app code to do the same: unless Windows can improve things.
We discussed this please go ahead and have our tests inject \LOCAL\ into the paths when IsUap is true, so the tests pass. Customer code will have to do the same, we will document that.
changed the title [-]NamedPipe tests in System.IO need to be rewritten for uap[/-][+]Update NamedPipe tests to inject \LOCAL\ in the paths for UAP so they can be reenabled for UAP[/+]on Jul 5, 2017
I'm trying to fix this, but after doing so and re-enabling the tests, a bunch of IO.Pipes tests are hanging waiting forever to connect to a namedPipe. I'm trying to investigate this now, but I might need to grab some help from @JeremyKuhne
Looks like the reason why the tests are now hanging is because there was a regression on one of the PInvokes that we call to create the namedPipeServer after RS1. There is a bug open and tracked by Windows, but once they fix it we will need to re-enable these tests.
Activity
danmoseley commentedon Jul 3, 2017
Needs some owner, don't care who but Jeremy has a bunch already. @joperezr talk to @JeremyKuhne /@safern for context.
danmoseley commentedon Jul 5, 2017
Plan here is to inject \LOCAL\ into the paths the tests use when in appcontainer, and we'd be requiring app code to do the same: unless Windows can improve things.
danmoseley commentedon Jul 5, 2017
We discussed this please go ahead and have our tests inject \LOCAL\ into the paths when
IsUapis true, so the tests pass. Customer code will have to do the same, we will document that.[-]NamedPipe tests in System.IO need to be rewritten for uap[/-][+]Update NamedPipe tests to inject \LOCAL\ in the paths for UAP so they can be reenabled for UAP[/+]joperezr commentedon Jul 5, 2017
will do.
joperezr commentedon Jul 7, 2017
I'm trying to fix this, but after doing so and re-enabling the tests, a bunch of IO.Pipes tests are hanging waiting forever to connect to a namedPipe. I'm trying to investigate this now, but I might need to grab some help from @JeremyKuhne
joperezr commentedon Jul 12, 2017
Looks like the reason why the tests are now hanging is because there was a regression on one of the PInvokes that we call to create the namedPipeServer after RS1. There is a bug open and tracked by Windows, but once they fix it we will need to re-enable these tests.
AlexGhiondea commentedon Jul 14, 2017
Marking this as post-zbb since we depend on a fix from Windows.