Skip to content

openharmony-standard-3.0: Fixing ACTS failures, adding patches for test timeout increment, add system user, fix typo

Francesco Pham requested to merge mrfrank/meta-openharmony:wip/acts into kirkstone

Adding patches to fix ACTS failures

openharmony-standard-3.0: add patch to increment test timeout

The default test timeout is 5000ms which is too short, causing some testcases to exceed timeout. Increasing the timeout to 60 seconds.

openharmony-standard_3.0: add user, run system services as system user

OpenHarmony init system, is responsible for creation of some directories, handling permissions and running services with appropriate UIDs/GIDs. Currently in meta-openharmony we have everything run as root, which causes some issues. Adding system user with UID 1000. Run system services as system user.

openharmony-standard_3.0: increase START_ABILITY_TIMEOUT to fix tests

START_ABILITY_TIMEOUT is 3000ms which is too short in our case, causing some testcases in ActsBmsModuleUsageRecordTest to exceed timeout. Increasing the timeout to 30 seconds.

openharmony-standard_3.0: add test-xts-acts-fix-Defpermission-typo.patch

Fix DefPermission.hap filename typo which is causing a file not found error when running ActsContextTest ACTS tests.

Relate-to: https://gitlab.eclipse.org/eclipse/oniro-core/meta-openharmony/-/issues/21

Signed-off-by: Francesco Pham francesco.pham@huawei.com

Edited by Francesco Pham

Merge request reports

Loading