Commit f0d1e73e authored by Boris Djalal's avatar Boris Djalal

Review

Signed-off-by: default avatarBoris Djalal <boris.djalal@eurecom.fr>
parent e2a871a2
...@@ -697,9 +697,12 @@ class SSHConnection(): ...@@ -697,9 +697,12 @@ class SSHConnection():
sys.exit(1) sys.exit(1)
else: else:
self.command('stdbuf -o0 cat ' + self.UELogFile + ' | egrep --text --color=never -i "wait|sync"', '\$', 4) self.command('stdbuf -o0 cat ' + self.UELogFile + ' | egrep --text --color=never -i "wait|sync"', '\$', 4)
result = re.search('got sync', str(self.ssh.before)) if self.air_interface == 'nr':
result = re.search('Starting sync detection', str(self.ssh.before))
else:
result = re.search('got sync', str(self.ssh.before))
if result is None: if result is None:
time.sleep(6) time.sleep(10)
else: else:
doLoop = False doLoop = False
self.CreateHtmlTestRow(self.Initialize_OAI_UE_args, 'OK', ALL_PROCESSES_OK, 'OAI UE') self.CreateHtmlTestRow(self.Initialize_OAI_UE_args, 'OK', ALL_PROCESSES_OK, 'OAI UE')
...@@ -794,7 +797,7 @@ class SSHConnection(): ...@@ -794,7 +797,7 @@ class SSHConnection():
#print(self.ssh.before) #print(self.ssh.before)
result = re.search('got sync', str(self.ssh.before)) result = re.search('got sync', str(self.ssh.before))
if result is None: if result is None:
time.sleep(6) time.sleep(10)
else: else:
doLoop = False doLoop = False
self.CreateHtmlTestRow(self.Initialize_OAI_eNB_args, 'OK', ALL_PROCESSES_OK, 'OAI eNB') self.CreateHtmlTestRow(self.Initialize_OAI_eNB_args, 'OK', ALL_PROCESSES_OK, 'OAI eNB')
......
...@@ -19,13 +19,14 @@ ...@@ -19,13 +19,14 @@
For more information about the OpenAirInterface (OAI) Software Alliance: For more information about the OpenAirInterface (OAI) Software Alliance:
contact@openairinterface.org contact@openairinterface.org
090101 000001 090102 000001 090103 000001 090109 000001
--> -->
<testCaseList> <testCaseList>
<htmlTabRef>run OAI gNB and OAI NR UE USRP</htmlTabRef> <htmlTabRef>run OAI gNB and OAI NR UE USRP</htmlTabRef>
<htmlTabName>run-OAI-gNB-NR-UE-USRP</htmlTabName> <htmlTabName>run-OAI-gNB-NR-UE-USRP</htmlTabName>
<htmlTabIcon>tasks</htmlTabIcon> <htmlTabIcon>tasks</htmlTabIcon>
<TestCaseRequestedList> <TestCaseRequestedList>
090101 000001 090102 000001 090103 000001 090109 000001 090102
</TestCaseRequestedList> </TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList> <TestCaseExclusionList></TestCaseExclusionList>
...@@ -39,7 +40,7 @@ ...@@ -39,7 +40,7 @@
<testCase id="000001"> <testCase id="000001">
<class>IdleSleep</class> <class>IdleSleep</class>
<desc>Sleep</desc> <desc>Sleep</desc>
<idle_sleep_time_in_sec>30</idle_sleep_time_in_sec> <idle_sleep_time_in_sec>5</idle_sleep_time_in_sec>
</testCase> </testCase>
<testCase id="090102"> <testCase id="090102">
...@@ -49,34 +50,16 @@ ...@@ -49,34 +50,16 @@
<air_interface>NR</air_interface> <air_interface>NR</air_interface>
</testCase> </testCase>
<testCase id="000001">
<class>IdleSleep</class>
<desc>Sleep</desc>
<idle_sleep_time_in_sec>30</idle_sleep_time_in_sec>
</testCase>
<testCase id="090103"> <testCase id="090103">
<class>Terminate_OAI_UE</class> <class>Terminate_OAI_UE</class>
<desc>Terminate NR UE</desc> <desc>Terminate NR UE</desc>
<air_interface>NR</air_interface> <air_interface>NR</air_interface>
</testCase> </testCase>
<testCase id="000001">
<class>IdleSleep</class>
<desc>Sleep</desc>
<idle_sleep_time_in_sec>30</idle_sleep_time_in_sec>
</testCase>
<testCase id="090109"> <testCase id="090109">
<class>Terminate_eNB</class> <class>Terminate_eNB</class>
<desc>Terminate gNB</desc> <desc>Terminate gNB</desc>
<air_interface>NR</air_interface> <air_interface>NR</air_interface>
</testCase> </testCase>
<testCase id="000001">
<class>IdleSleep</class>
<desc>Sleep</desc>
<idle_sleep_time_in_sec>30</idle_sleep_time_in_sec>
</testCase>
</testCaseList> </testCaseList>
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