Increase core count for PerfettoDeviceFeatureTest
Increase core count limit for CtsPerfettoTestCases
PerfettoDeviceFeatureTest#TestMaxCpusForAtraceChmod to support
future devices with more cores
Bug: 203651019
Test: atest CtsPerfettoTestCases
Change-Id: I2246d9ef10e553df3f9d12ccde78d8009f3fd7cd
Merged-In: I2246d9ef10e553df3f9d12ccde78d8009f3fd7cd
(cherry picked from commit b4868da668898d53a66087af776b295fea2f2731)
diff --git a/test/cts/device_feature_test_cts.cc b/test/cts/device_feature_test_cts.cc
index 3ed5bc1..6ed16c3 100644
--- a/test/cts/device_feature_test_cts.cc
+++ b/test/cts/device_feature_test_cts.cc
@@ -21,9 +21,9 @@
namespace perfetto {
TEST(PerfettoDeviceFeatureTest, TestMaxCpusForAtraceChmod) {
- // Check that there are no more than 16 CPUs so that the assumption in the
+ // Check that there are no more than 24 CPUs so that the assumption in the
// atrace.rc for clearing CPU buffers is valid.
- ASSERT_LE(sysconf(_SC_NPROCESSORS_CONF), 16);
+ ASSERT_LE(sysconf(_SC_NPROCESSORS_CONF), 24);
}
} // namespace perfetto