未验证 提交 cde557ef 编写于 作者: O openharmony_ci 提交者: Gitee

!6659 【communication】解决monthly1018分支WiFi失败用例

Merge pull request !6659 from 权力/cherry-pick-1669199996
......@@ -61,9 +61,11 @@ describe('bluetoothBLETest', function() {
afterEach(function () {
console.info('afterEach called')
})
afterAll(function () {
afterAll(async function (done) {
console.info('afterAll called')
await sleep(6000);
gattClient.close();
done()
})
/**
......
......@@ -357,7 +357,7 @@ export default function actsWifiManagerFunctionTest() {
*/
it('SUB_Communication_WiFi_XTS_P2P_0009', 0, async function (done) {
let wifiP2PConfig = {
deviceAddress : "00:00:00:00:00:00",
deviceAddress : "11:22:33:44:55:66",
netId : -1,
passphrase : "12345678",
groupName : "AAAZZZ456",
......
......@@ -381,7 +381,7 @@ export default function actsWifiFunctionTest() {
*/
it('SUB_Communication_WiFi_XTS_P2P_0009', 0, async function (done) {
let wifiP2PConfig = {
deviceAddress : "00:00:00:00:00:00",
deviceAddress : "11:22:33:44:55:66",
netId : -1,
passphrase : "12345678",
groupName : "AAAZZZ456",
......
......@@ -14,6 +14,13 @@
],
"type": "AppInstallKit",
"cleanup-apps": true
},
{
"type": "ShellKit",
"run-command": [
"hilog -Q pidoff",
"power-shell setmode 602"
]
}
]
}
\ No newline at end of file
}
......@@ -12,17 +12,17 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import actsWifiManagerFunctionsTest from './WifiManagerStationFunctions.test.js'
import actsWifiCandidateNetWorkTest from './WifiCandidateNetWork.test.js'
import actsWifiManagerCandidateNetWorkTest from './WifiManagerCandidateNetWork.test.js'
import actsWifiFunctionsTest from './WifiStationFunctions.test.js'
import actsWifiManagerFunctionsTest from './WifiManagerStationFunctions.test.js'
import actsWifiEventTest from './WifiStationEvent.test.js'
import actsWifiManagerEventTest from './WifiManagerStationEvent.test.js'
export default function testsuite() {
actsWifiManagerFunctionsTest()
actsWifiCandidateNetWorkTest()
actsWifiManagerCandidateNetWorkTest()
actsWifiFunctionsTest()
actsWifiManagerFunctionsTest()
actsWifiEventTest()
actsWifiManagerEventTest()
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册