Merge "sched_policy_test: set_sched_policy also set the cpuset policy as fallback" into android12-tests-dev
This commit is contained in:
commit
ce34e32556
1 changed files with 2 additions and 0 deletions
|
@ -75,9 +75,11 @@ TEST(SchedPolicy, set_sched_policy) {
|
|||
}
|
||||
|
||||
ASSERT_EQ(0, set_sched_policy(0, SP_BACKGROUND));
|
||||
ASSERT_EQ(0, set_cpuset_policy(0, SP_BACKGROUND));
|
||||
AssertPolicy(SP_BACKGROUND);
|
||||
|
||||
ASSERT_EQ(0, set_sched_policy(0, SP_FOREGROUND));
|
||||
ASSERT_EQ(0, set_cpuset_policy(0, SP_FOREGROUND));
|
||||
AssertPolicy(SP_FOREGROUND);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue