Skip to content

Commit

Permalink
[test: add test case]
Browse files Browse the repository at this point in the history
  • Loading branch information
plum-lihui committed Apr 28, 2022
1 parent 5c875fc commit 042fdc3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion tests/system-test/0-others/taosShell.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ class TDTestCase:
updatecfgDict["secondEp"] = hostname + ':' + serverPort
updatecfgDict["fqdn"] = hostname


print ("===================: ", updatecfgDict)

def init(self, conn, logSql):
Expand Down
6 changes: 4 additions & 2 deletions tests/system-test/0-others/taosShellError.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,17 +74,19 @@ class TDTestCase:
hostname = socket.gethostname()
serverPort = '7080'
rpcDebugFlagVal = '143'
clientCfgDict = {'serverPort': '', 'firstEp': '', 'secondEp':'', 'rpcDebugFlag':'135'}
clientCfgDict = {'serverPort': '', 'firstEp': '', 'secondEp':'', 'rpcDebugFlag':'135', 'fqdn':''}
clientCfgDict["serverPort"] = serverPort
clientCfgDict["firstEp"] = hostname + ':' + serverPort
clientCfgDict["secondEp"] = hostname + ':' + serverPort
clientCfgDict["rpcDebugFlag"] = rpcDebugFlagVal
clientCfgDict["fqdn"] = hostname

updatecfgDict = {'clientCfg': {}, 'serverPort': '', 'firstEp': '', 'secondEp':''}
updatecfgDict = {'clientCfg': {}, 'serverPort': '', 'firstEp': '', 'secondEp':'', 'rpcDebugFlag':'135', 'fqdn':''}
updatecfgDict["clientCfg"] = clientCfgDict
updatecfgDict["serverPort"] = serverPort
updatecfgDict["firstEp"] = hostname + ':' + serverPort
updatecfgDict["secondEp"] = hostname + ':' + serverPort
clientCfgDict["fqdn"] = hostname

print ("===================: ", updatecfgDict)

Expand Down

0 comments on commit 042fdc3

Please sign in to comment.