From 93d0c372bac7b10c6b858884b9a272af1e271b72 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 9 Aug 2023 18:55:13 +0800 Subject: [PATCH] 1 --- tools/robot/testcase.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/robot/testcase.js b/tools/robot/testcase.js index ba874f21..b759cb8c 100644 --- a/tools/robot/testcase.js +++ b/tools/robot/testcase.js @@ -40,11 +40,12 @@ class TestCase { constructor(url) { this.relationUrl = 'ws://127.0.0.1:7132'; this.loginData = null; + /* this.relationWs = new ClientNet( this.relationUrl, 'proto/cs_proto.proto', 'proto/cs_msgid.proto' - ); + );*/ } async init() { @@ -73,6 +74,7 @@ class TestCase { } async step2() { + /* await this.relationWs.init(); await this.relationWs.connect(); this.relationWs.on('connect', () => { @@ -83,7 +85,7 @@ class TestCase { account_id: this.loginData['account_id'], session_id: this.loginData['session_id'], }); - }); + });*/ } }