Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangjie
OpenXG-RAN
Commits
28eb2d61
Commit
28eb2d61
authored
Dec 09, 2019
by
Gabriele Perrone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing self.cnt to SSH.cnt mistake
parent
75642c34
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
ci-scripts/main-index-to-class.py
ci-scripts/main-index-to-class.py
+6
-6
No files found.
ci-scripts/main-index-to-class.py
View file @
28eb2d61
...
...
@@ -4816,10 +4816,10 @@ elif re.match('^TesteNB$', mode, re.IGNORECASE) or re.match('^TestUE$', mode, re
SSH
.
CreateHtmlTabHeader
()
self
.
cnt
=
0
SSH
.
cnt
=
0
SSH
.
prematureExit
=
True
SSH
.
startTime
=
int
(
round
(
time
.
time
()
*
1000
))
while
self
.
cnt
<
SSH
.
repeatCounts
[
0
]
and
SSH
.
prematureExit
:
while
SSH
.
cnt
<
SSH
.
repeatCounts
[
0
]
and
SSH
.
prematureExit
:
SSH
.
prematureExit
=
False
for
test_case_id
in
todo_tests
:
if
SSH
.
prematureExit
:
...
...
@@ -4907,13 +4907,13 @@ elif re.match('^TesteNB$', mode, re.IGNORECASE) or re.match('^TestUE$', mode, re
SSH
.
Perform_X2_Handover
()
else
:
sys
.
exit
(
'Invalid action'
)
self
.
cnt
+=
1
if
self
.
cnt
==
SSH
.
repeatCounts
[
0
]
and
SSH
.
prematureExit
:
logging
.
debug
(
'Testsuite failed '
+
str
(
self
.
cnt
)
+
' time(s)'
)
SSH
.
cnt
+=
1
if
SSH
.
cnt
==
SSH
.
repeatCounts
[
0
]
and
SSH
.
prematureExit
:
logging
.
debug
(
'Testsuite failed '
+
str
(
SSH
.
cnt
)
+
' time(s)'
)
SSH
.
CreateHtmlTabFooter
(
False
)
sys
.
exit
(
'Failed Scenario'
)
else
:
logging
.
info
(
'Testsuite passed after '
+
str
(
self
.
cnt
)
+
' time(s)'
)
logging
.
info
(
'Testsuite passed after '
+
str
(
SSH
.
cnt
)
+
' time(s)'
)
SSH
.
CreateHtmlTabFooter
(
True
)
else
:
Usage
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment