[base] Ensure that tests don't change the thread priority (reland).
This is a reland of https://chromium-review.googlesource.com/c/chromium/src/+/1804786. The difference is that we don't check thread priority in angle_deqp_tests_main, as these tests do change thread priority on purpose. This CL verifies that the thread priority is normal when a test process is launched and before/after each test. The goal is to avoid having tests that assume they run at normal priority be disabled because of other misbehaving tests (e.g. https://crbug.com/931706). TBR=sky@chromium.org,michaelpg@chromium.org,thakis@chromium.org,eseckler@chromium.org Bug: 931706 Change-Id: I92a827d014278b1f5b3504f48c2441ad2e83bc65 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1865405Reviewed-by:Eric Seckler <eseckler@chromium.org> Reviewed-by:
Zhenyao Mo <zmo@chromium.org> Reviewed-by:
Gabriel Charette <gab@chromium.org> Commit-Queue: François Doray <fdoray@chromium.org> Cr-Commit-Position: refs/heads/master@{#708194}
Showing
Please register or sign in to comment