-
Notifications
You must be signed in to change notification settings - Fork 344
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
Refactor LRP tests for notifications #2900
Conversation
pmpurifoy
commented
Aug 23, 2022
•
edited
Loading
edited
- Restructured test locations for Notification tests
- Added LRP test dll covering all exposed functions
BEGIN_TEST_CLASS(LRPTests) | ||
TEST_CLASS_PROPERTY(L"Description", L"Windows App SDK Push Notifications Long Running Process tests") | ||
TEST_CLASS_PROPERTY(L"ThreadingModel", L"MTA") | ||
TEST_CLASS_PROPERTY(L"RunAs:Class", L"RestrictedUser") |
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.
What does this mean? Sounds like this is a non-admin user? Then how is it different from not specifying this property at all?
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.
RestrictedUser means that the process is running as a user at medium-IL. This is our only supported scenario, but in the future we will need to add ElevatedUser to make sure elevated processes can call into the LRP.
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.
What is the default IL we get for the tests if we don't specify a user?
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 you don't specify a user, TAEF will run in the context of which TAEF is running.
/azp run TransportPackage-Foundation-PR |
No pipelines are associated with this pull request. |
/azp run |
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
/azp run TransportPackage-Foundation-PR |
No pipelines are associated with this pull request. |
/azp run TransportPackage-Foundation-PR |
No pipelines are associated with this pull request. |