-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Add LIT parameter priority
#5032
Conversation
To control test process priority. Defaults to `IDLE_PRIORITY_CLASS`.
Thanks, this is awesome! 😻 Now test runs should interfere less with Microsoft Teams. 🐈⬛ I pushed a commit to print a note when psutil isn't installed. This looks like:
|
Relabeled as this affects local test runs, not repository automation. We actually no longer install psutil in the VM image, because our new security policies hate |
Yeah, I had no doubt my motivation would be obvious to anyone who saw my slideshow in standup yesterday =)
I went back and forth on this a couple of times trying to avoid any visible message when the user didn't explicitly specify a value for the parameter. This turns out to be surprisingly complicated to do without adding a separate default to the set of acceptable values that LIT reports when you specify a value not in that set. Now it occurs to me that |
I think we do actually want a message when the default is used, since otherwise the unfriendly behavior is invisible. (What's missing is a way to suppress the message without installing psutil) |
I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed. |
🐈⬛ 📹 📺 |
To control test process priority. Defaults to
IDLE_PRIORITY_CLASS
. Has no effect withoutpip install psutil
.