Skip to content

Update NamedPipe tests to inject \LOCAL\ in the paths for UAP so they can be reenabled for UAP #22432

Closed
dotnet/corefx
#22273

Description

@safern

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.

I will disable this tests against this issue.

cc: @danmosemsft @JeremyKuhne

Activity

  1. danmoseley commented on Jul 3, 2017

    @danmoseley
    Contributor

    Needs some owner, don't care who but Jeremy has a bunch already. @joperezr talk to @JeremyKuhne /@safern for context.

  2. danmoseley commented on Jul 5, 2017

    @danmoseley
    Contributor

    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.

  3. danmoseley commented on Jul 5, 2017

    @danmoseley
    Contributor

    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.

  4. 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
  5. joperezr commented on Jul 5, 2017

    @joperezr
    Member

    will do.

  6. joperezr commented on Jul 7, 2017

    @joperezr
    Member

    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

  7. joperezr commented on Jul 12, 2017

    @joperezr
    Member

    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.

  8. AlexGhiondea commented on Jul 14, 2017

    @AlexGhiondea
    Contributor

    Marking this as post-zbb since we depend on a fix from Windows.

  9. transferred this issue fromdotnet/corefxon Jan 31, 2020
  10. added this to the UWP6.0 milestone on Jan 31, 2020
  11. ghost locked as resolved and limited conversation to collaborators on Dec 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions