Commit 2498bc8b authored by hardy's avatar hardy

fixed 1 typo ; 1 cut error (part of code missing)

parent 175c98af
...@@ -311,6 +311,16 @@ class OaiCiTest(): ...@@ -311,6 +311,16 @@ class OaiCiTest():
i = 0 i = 0
for device_id in self.UEDevices: for device_id in self.UEDevices:
p = Process(target = self.InitializeUE_common, args = (device_id,i,COTS_UE,)) p = Process(target = self.InitializeUE_common, args = (device_id,i,COTS_UE,))
p.daemon = True
p.start()
multi_jobs.append(p)
i += 1
for job in multi_jobs:
job.join()
HTML.CreateHtmlTestRow('N/A', 'OK', CONST.ALL_PROCESSES_OK)
def InitializeOAIUE(self,HTML,RAN,EPC,COTS_UE): def InitializeOAIUE(self,HTML,RAN,EPC,COTS_UE):
if self.UEIPAddress == '' or self.UEUserName == '' or self.UEPassword == '' or self.UESourceCodePath == '': if self.UEIPAddress == '' or self.UEUserName == '' or self.UEPassword == '' or self.UESourceCodePath == '':
...@@ -1068,7 +1078,7 @@ class OaiCiTest(): ...@@ -1068,7 +1078,7 @@ class OaiCiTest():
multi_jobs = [] multi_jobs = []
i = 0 i = 0
for device_id in self.UEDevices: for device_id in self.UEDevices:
p = Process(target = self.DataDisableUE_common, args = (device_id,i)) p = Process(target = self.DataDisableUE_common, args = (device_id,i,))
p.daemon = True p.daemon = True
p.start() p.start()
multi_jobs.append(p) multi_jobs.append(p)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment