Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
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
isaak yansane-sisk
slapos
Commits
b40d6c46
Commit
b40d6c46
authored
Jun 16, 2011
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tester command lines.
parent
c9eba1be
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
slapos/recipe/erp5scalabilitytestbed/__init__.py
slapos/recipe/erp5scalabilitytestbed/__init__.py
+3
-1
slapos/recipe/erp5scalabilitytestbed/template/erp5tester_manager_run.in
...erp5scalabilitytestbed/template/erp5tester_manager_run.in
+4
-1
slapos/recipe/erp5scalabilitytestbed/template/nosqltester_run.in
...recipe/erp5scalabilitytestbed/template/nosqltester_run.in
+1
-1
No files found.
slapos/recipe/erp5scalabilitytestbed/__init__.py
View file @
b40d6c46
...
@@ -24,6 +24,8 @@
...
@@ -24,6 +24,8 @@
#
#
##############################################################################
##############################################################################
import
os
import
pkg_resources
from
slapos.recipe.librecipe
import
BaseSlapRecipe
from
slapos.recipe.librecipe
import
BaseSlapRecipe
class
Recipe
(
BaseSlapRecipe
):
class
Recipe
(
BaseSlapRecipe
):
...
@@ -56,7 +58,7 @@ class Recipe(BaseSlapRecipe):
...
@@ -56,7 +58,7 @@ class Recipe(BaseSlapRecipe):
config
[
'plugin_name'
]
=
'erp5'
config
[
'plugin_name'
]
=
'erp5'
connection
=
{}
connection
=
{}
connection
[
'url'
]
=
'http://[
"+config['
address
']+"
]:5000/'
connection
[
'url'
]
=
'http://[
'
+
config
[
'address'
]
+
'
]:5000/'
connection
[
'erp5_url'
]
=
config
[
'erp5_url'
]
connection
[
'erp5_url'
]
=
config
[
'erp5_url'
]
connection
[
'repeat'
]
=
config
[
'repeat'
]
connection
[
'repeat'
]
=
config
[
'repeat'
]
connection
[
'nb_users'
]
=
config
[
'nb_users'
]
connection
[
'nb_users'
]
=
config
[
'nb_users'
]
...
...
slapos/recipe/erp5scalabilitytestbed/template/erp5tester_manager_run.in
View file @
b40d6c46
#!/bin/sh
#!/bin/sh
# BEWARE: This file is operated by slapgrid
# BEWARE: This file is operated by slapgrid
# BEWARE: It will be overwritten automatically
# BEWARE: It will be overwritten automatically
exec
%
(
nosqltester_manager_binary
)
s
-a
%
(
address
)
s
-r
%
(
report_path
)
s
-s
%
(
nb_server_max
)
s
-t
%
(
nb_tester_max
)
s %
(
software_release_url
)
s %
(
server_url
)
s
"%(key_file)s"
"%(cert_file)s"
%
(
computer_id
)
s %
(
computer_partition_id
)
s %
(
plugin_name
)
s %
(
nb_thread
)
s %
(
nb_request
)
s
exec
%
(
scalability_tester_manager_binary
)
s
-a
%
(
address
)
s
-r
%
(
report_path
)
s
\
-s
%
(
nb_server_max
)
s
-t
%
(
nb_tester_max
)
s %
(
software_release_url
)
s
\
%
(
server_url
)
s
"%(key_file)s"
"%(cert_file)s"
%
(
computer_id
)
s
\
%
(
computer_partition_id
)
s %
(
plugin_name
)
s
slapos/recipe/erp5scalabilitytestbed/template/nosqltester_run.in
View file @
b40d6c46
#!/bin/sh
#!/bin/sh
# BEWARE: This file is operated by slapgrid
# BEWARE: This file is operated by slapgrid
# BEWARE: It will be overwritten automatically
# BEWARE: It will be overwritten automatically
exec
%
(
nosql
tester_binary
)
s
-h
%
(
host_address
)
s
-a
%
(
tester_address
)
s
-r
%
(
report_path
)
s
\
exec
%
(
scalability_
tester_binary
)
s
-h
%
(
host_address
)
s
-a
%
(
tester_address
)
s
-r
%
(
report_path
)
s
\
--report-directory
%
(
report_path
)
s
--repeat
%
(
repeat
)
d %
(
erp5_url
)
s %
(
nb_users
)
d
\
--report-directory
%
(
report_path
)
s
--repeat
%
(
repeat
)
d %
(
erp5_url
)
s %
(
nb_users
)
d
\
%
(
benchmark_suites
)
s
%
(
benchmark_suites
)
s
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