OpenHarmony开发者论坛
标题:
[兼容性测试杂项]解决V4.0Release系统Acts测试ActsNetManagerHttpEtsTest模块的fail
[打印本页]
作者:
lzu-njy
时间:
5 天前
标题:
[兼容性测试杂项]解决V4.0Release系统Acts测试ActsNetManagerHttpEtsTest模块的fail
[md]### 系统版本
OpenHarmony V4.0 Release
### 代码仓
```
https://gitee.com/openharmony/manifest
-b refs/tags/OpenHarmony-v4.0.4-Release --no-repo-verify
```
### 问题描述
按照《OpenHarmony设备兼容性规范4.x自检表_标准系统》PCS表的要求,执行Acts最小集的测试,在”基础网络协议栈“部件集时,ActsNetManagerHttpEtsTest模块有Fail和Block的用例,具体情况如下图所示(6条测试用例fail):
![Fail-ActsRequestAuthorityTest.png](
https://forums-obs.openharmony.c ... 6glg444l45n464l.png
"Fail-ActsRequestAuthorityTest.png")
### 问题解决
参考gitee链接:[release4.1修改http请求失效连接 · Pull Request !19667 · OpenHarmony/xts_acts - Gitee.com](
https://gitee.com/openharmony/xts_acts/pulls/19667/files
)
#### 修改文件路径
```bash
test/xts/acts/telephony/telephonyjstest/netmanager_http/entry/src/main/ets/test/RequestMethodJsunit.test.ets
```
注意,上述链接的补丁针对V4.1,修改line184、203、248,对应到V4.0应修改line169、188、230
![ActsRequestAuthorityTest.png](
https://forums-obs.openharmony.c ... fmedkpbef9f2dm4.png
"ActsRequestAuthorityTest.png")
[/md]
欢迎光临 OpenHarmony开发者论坛 (https://forums.openharmony.cn/)
Powered by Discuz! X3.5