Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
erp5_fork
Commits
86709807
Commit
86709807
authored
Jun 18, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change instance title
parent
cea4a4ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
9 deletions
+2
-9
erp5/util/testnode/ScalabilityTestRunner.py
erp5/util/testnode/ScalabilityTestRunner.py
+1
-1
erp5/util/testnode/testnodeUtils.py
erp5/util/testnode/testnodeUtils.py
+1
-8
No files found.
erp5/util/testnode/ScalabilityTestRunner.py
View file @
86709807
...
...
@@ -93,7 +93,7 @@ class ScalabilityTestRunner():
instance_title
+=
"("
+
test_suite_title
+
")-"
instance_title
+=
str
(
self
.
involved_nodes_computer_guid
).
replace
(
"'"
,
""
)
instance_title
+=
"-"
instance_title
+=
t
estnodeUtils
.
generateRandomString
(
6
)
instance_title
+=
t
ime
.
strftime
(
'%d/%m/%y_%H:%M:%S'
,
time
.
localtime
()
)
return
instance_title
def
_createInstance
(
self
,
software_path
,
software_configuration
,
instance_title
):
...
...
erp5/util/testnode/testnodeUtils.py
View file @
86709807
...
...
@@ -19,11 +19,4 @@ def deunicodeData(data):
new_data
[
key
]
=
value
else
:
new_data
=
data
return
new_data
def
generateRandomString
(
size
):
tab
=
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
my_string
=
''
for
i
in
range
(
size
):
my_string
=
my_string
+
choice
(
tab
)
return
my_string
\ No newline at end of file
return
new_data
\ No newline at end of file
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