Commit 5c4d3eca authored by Boris Djalal's avatar Boris Djalal

Test.

Signed-off-by: default avatarBoris Djalal <boris.djalal@eurecom.fr>
parent 916fe79a
......@@ -758,6 +758,7 @@ class SSHConnection():
self.command('cd ../..', '\$', 5)
doLoop = True
loopCounter = 10
print('gNB log file: ' + 'enb_' + self.testCase_id + '.log')
while (doLoop):
loopCounter = loopCounter - 1
if (loopCounter == 0):
......@@ -784,7 +785,6 @@ class SSHConnection():
# self.copyout(self.eNBIPAddress, self.eNBUserName, self.eNBPassword, pcap_log_file, self.eNBSourceCodePath + '/cmake_targets/.')
sys.exit(1)
else:
print('gNB log file: ' + 'enb_' + self.testCase_id + '.log')
self.command('stdbuf -o0 cat enb_' + self.testCase_id + '.log | egrep --text --color=never -i "wait|sync"', '\$', 4)
result = re.search('got sync', str(self.ssh.before))
if result is None:
......
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