Skip to content
Snippets Groups Projects
Commit 4edf806d authored by Francesco Pham's avatar Francesco Pham
Browse files

openharmony-standard:actsfeatureabilitytest-wait-between-testcases.patch


add and apply actsfeatureabilitytest-wait-between-testcases.patch

test/xts/acts/ActsFeatureAbilityTest: wait 8 seconds between each testcase

sometimes feature abilities fail to start because the previous testcase
still has't completely started or terminated its feature ability.
Increasing sleep time from 1 seconds to 8 seconds between each testcase.

Upstream-Status: Pending

Signed-off-by: default avatarFrancesco Pham <francesco.pham@huawei.com>
parent 5f84467e
No related branches found
No related tags found
1 merge request!101openharmony-standard: add patches to fix segfault, disable graphics, fixing feature abilities timeouts
# SPDX-FileCopyrightText: Huawei Inc.
#
# SPDX-License-Identifier: Apache-2.0
test/xts/acts/ActsFeatureAbilityTest: wait 8 seconds between each testcase
sometimes feature abilities fail to start because the previous testcase
still has't completely started or terminated its feature ability.
Increasing sleep time from 1 seconds to 8 seconds between each testcase.
Upstream-Status: Pending
Signed-off-by: Francesco Pham <francesco.pham@huawei.com>
diff --git a/aafwk/aafwk_standard/featureability/actsfeatureabilitytest/entry/src/main/js/test/FeatureAbilityJsunit.test.js b/aafwk/aafwk_standard/featureability/actsfeatureabilitytest/entry/src/main/js/test/FeatureAbilityJsunit.test.js
index 10e517f2c..1abaccd94 100644
--- a/aafwk/aafwk_standard/featureability/actsfeatureabilitytest/entry/src/main/js/test/FeatureAbilityJsunit.test.js
+++ b/aafwk/aafwk_standard/featureability/actsfeatureabilitytest/entry/src/main/js/test/FeatureAbilityJsunit.test.js
@@ -82,7 +82,7 @@ describe('ActsFeatureAbilityTest', function () {
}
}
beforeEach(() => {
- sleep(1000);
+ sleep(8000);
})
/**
......@@ -81,6 +81,7 @@ SRC_URI += "file://test-xts-acts-fix-hicolliecpptest.patch;patchdir=${S}/test/xt
SRC_URI += "file://ace_engine-disable-create-component.patch;patchdir=${S}/foundation/ace/ace_engine"
SRC_URI += "file://test-xts-acts-increase-testsuite-timeouts.patch;patchdir=${S}/test/xts/acts"
SRC_URI += "file://actsgetwantalltest-wait-between-testcases.patch;patchdir=${S}/test/xts/acts"
SRC_URI += "file://actsfeatureabilitytest-wait-between-testcases.patch;patchdir=${S}/test/xts/acts"
inherit python3native gn_base ptest
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment