Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
batmen
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sepia-pub
mael
batmen
Commits
56da7229
Commit
56da7229
authored
2 years ago
by
Maël Madon
Browse files
Options
Downloads
Patches
Plain Diff
clean: change project name in tests,
#3
parent
d04789c6
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!4
Clean repo
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
test/test_algo_perso.py
+3
-3
3 additions, 3 deletions
test/test_algo_perso.py
test/test_broker.py
+4
-4
4 additions, 4 deletions
test/test_broker.py
test/test_runner.py
+1
-1
1 addition, 1 deletion
test/test_runner.py
test/test_users.py
+1
-1
1 addition, 1 deletion
test/test_users.py
with
9 additions
and
9 deletions
test/test_algo_perso.py
+
3
−
3
View file @
56da7229
...
@@ -7,7 +7,7 @@ def test_multicore_filler(platform_multiC, workload_multiC):
...
@@ -7,7 +7,7 @@ def test_multicore_filler(platform_multiC, workload_multiC):
batcmd
=
gen_batsim_cmd
(
platform_multiC
.
filename
,
workload_multiC
.
filename
,
output_dir
,
"
--energy
"
)
batcmd
=
gen_batsim_cmd
(
platform_multiC
.
filename
,
workload_multiC
.
filename
,
output_dir
,
"
--energy
"
)
instance
=
RobinInstance
(
output_dir
=
output_dir
,
instance
=
RobinInstance
(
output_dir
=
output_dir
,
batcmd
=
batcmd
,
batcmd
=
batcmd
,
schedcmd
=
f
"
bat
sched
-v multicore_filler
"
,
schedcmd
=
f
"
bat
men
-v multicore_filler
"
,
simulation_timeout
=
30
,
ready_timeout
=
5
,
simulation_timeout
=
30
,
ready_timeout
=
5
,
success_timeout
=
10
,
failure_timeout
=
0
success_timeout
=
10
,
failure_timeout
=
0
)
)
...
@@ -26,7 +26,7 @@ def test_bin_packing(platform_multiC, workload_multiC):
...
@@ -26,7 +26,7 @@ def test_bin_packing(platform_multiC, workload_multiC):
batcmd
=
gen_batsim_cmd
(
platform_multiC
.
filename
,
workload_multiC
.
filename
,
output_dir
,
"
--energy --enable-compute-sharing
"
)
batcmd
=
gen_batsim_cmd
(
platform_multiC
.
filename
,
workload_multiC
.
filename
,
output_dir
,
"
--energy --enable-compute-sharing
"
)
instance
=
RobinInstance
(
output_dir
=
output_dir
,
instance
=
RobinInstance
(
output_dir
=
output_dir
,
batcmd
=
batcmd
,
batcmd
=
batcmd
,
schedcmd
=
f
"
bat
sched
-v bin_packing --queue_order=desc_size
"
,
schedcmd
=
f
"
bat
men
-v bin_packing --queue_order=desc_size
"
,
simulation_timeout
=
30
,
ready_timeout
=
5
,
simulation_timeout
=
30
,
ready_timeout
=
5
,
success_timeout
=
10
,
failure_timeout
=
0
success_timeout
=
10
,
failure_timeout
=
0
)
)
...
@@ -45,7 +45,7 @@ def test_bin_packing_energy(platform_multiC, workload_multiC):
...
@@ -45,7 +45,7 @@ def test_bin_packing_energy(platform_multiC, workload_multiC):
batcmd
=
gen_batsim_cmd
(
platform_multiC
.
filename
,
workload_multiC
.
filename
,
output_dir
,
"
--energy --enable-compute-sharing
"
)
batcmd
=
gen_batsim_cmd
(
platform_multiC
.
filename
,
workload_multiC
.
filename
,
output_dir
,
"
--energy --enable-compute-sharing
"
)
instance
=
RobinInstance
(
output_dir
=
output_dir
,
instance
=
RobinInstance
(
output_dir
=
output_dir
,
batcmd
=
batcmd
,
batcmd
=
batcmd
,
schedcmd
=
f
"
bat
sched
-v bin_packing_energy --queue_order=desc_size
"
,
schedcmd
=
f
"
bat
men
-v bin_packing_energy --queue_order=desc_size
"
,
simulation_timeout
=
30
,
ready_timeout
=
5
,
simulation_timeout
=
30
,
ready_timeout
=
5
,
success_timeout
=
10
,
failure_timeout
=
0
success_timeout
=
10
,
failure_timeout
=
0
)
)
...
...
This diff is collapsed.
Click to expand it.
test/test_broker.py
+
4
−
4
View file @
56da7229
...
@@ -7,7 +7,7 @@ def test_broker_filler(platform_multiC, workload_multiC):
...
@@ -7,7 +7,7 @@ def test_broker_filler(platform_multiC, workload_multiC):
batcmd
=
gen_batsim_cmd
(
platform_multiC
.
filename
,
workload_multiC
.
filename
,
output_dir
,
"
--energy --enable-dynamic-jobs --acknowledge-dynamic-jobs --enable-profile-reuse
"
)
batcmd
=
gen_batsim_cmd
(
platform_multiC
.
filename
,
workload_multiC
.
filename
,
output_dir
,
"
--energy --enable-dynamic-jobs --acknowledge-dynamic-jobs --enable-profile-reuse
"
)
instance
=
RobinInstance
(
output_dir
=
output_dir
,
instance
=
RobinInstance
(
output_dir
=
output_dir
,
batcmd
=
batcmd
,
batcmd
=
batcmd
,
schedcmd
=
f
"
bat
sched
-v multicore_filler --variant_options_filepath test/schedconf/user_description_file.json
"
,
schedcmd
=
f
"
bat
men
-v multicore_filler --variant_options_filepath test/schedconf/user_description_file.json
"
,
simulation_timeout
=
30
,
ready_timeout
=
5
,
simulation_timeout
=
30
,
ready_timeout
=
5
,
success_timeout
=
10
,
failure_timeout
=
0
success_timeout
=
10
,
failure_timeout
=
0
)
)
...
@@ -23,7 +23,7 @@ def test_broker_binpacking(platform_multiC, workload_multiC):
...
@@ -23,7 +23,7 @@ def test_broker_binpacking(platform_multiC, workload_multiC):
batcmd
=
gen_batsim_cmd
(
platform_multiC
.
filename
,
workload_multiC
.
filename
,
output_dir
,
"
--energy --enable-compute-sharing --enable-dynamic-jobs --acknowledge-dynamic-jobs --enable-profile-reuse
"
)
batcmd
=
gen_batsim_cmd
(
platform_multiC
.
filename
,
workload_multiC
.
filename
,
output_dir
,
"
--energy --enable-compute-sharing --enable-dynamic-jobs --acknowledge-dynamic-jobs --enable-profile-reuse
"
)
instance
=
RobinInstance
(
output_dir
=
output_dir
,
instance
=
RobinInstance
(
output_dir
=
output_dir
,
batcmd
=
batcmd
,
batcmd
=
batcmd
,
schedcmd
=
f
"
bat
sched
-v bin_packing --queue_order=desc_size --variant_options_filepath test/schedconf/user_description_file.json
"
,
schedcmd
=
f
"
bat
men
-v bin_packing --queue_order=desc_size --variant_options_filepath test/schedconf/user_description_file.json
"
,
simulation_timeout
=
30
,
ready_timeout
=
5
,
simulation_timeout
=
30
,
ready_timeout
=
5
,
success_timeout
=
10
,
failure_timeout
=
0
success_timeout
=
10
,
failure_timeout
=
0
)
)
...
@@ -39,7 +39,7 @@ def test_broker_binpackingNRJ(platform_multiC, workload_multiC):
...
@@ -39,7 +39,7 @@ def test_broker_binpackingNRJ(platform_multiC, workload_multiC):
batcmd
=
gen_batsim_cmd
(
platform_multiC
.
filename
,
workload_multiC
.
filename
,
output_dir
,
"
--energy --enable-compute-sharing --enable-dynamic-jobs --acknowledge-dynamic-jobs --enable-profile-reuse
"
)
batcmd
=
gen_batsim_cmd
(
platform_multiC
.
filename
,
workload_multiC
.
filename
,
output_dir
,
"
--energy --enable-compute-sharing --enable-dynamic-jobs --acknowledge-dynamic-jobs --enable-profile-reuse
"
)
instance
=
RobinInstance
(
output_dir
=
output_dir
,
instance
=
RobinInstance
(
output_dir
=
output_dir
,
batcmd
=
batcmd
,
batcmd
=
batcmd
,
schedcmd
=
f
"
bat
sched
-v bin_packing_energy --queue_order=desc_size --variant_options_filepath test/schedconf/user_description_file.json
"
,
schedcmd
=
f
"
bat
men
-v bin_packing_energy --queue_order=desc_size --variant_options_filepath test/schedconf/user_description_file.json
"
,
simulation_timeout
=
30
,
ready_timeout
=
5
,
simulation_timeout
=
30
,
ready_timeout
=
5
,
success_timeout
=
10
,
failure_timeout
=
0
success_timeout
=
10
,
failure_timeout
=
0
)
)
...
@@ -55,7 +55,7 @@ def test_routineSimple_binpackingNRJ():
...
@@ -55,7 +55,7 @@ def test_routineSimple_binpackingNRJ():
batcmd
=
gen_batsim_cmd
(
'
test/platforms/multicore/toy_pform_taurus_like.xml
'
,
'
test/workloads/multicore/empty_workload.json
'
,
output_dir
,
"
--energy --enable-compute-sharing --enable-dynamic-jobs --acknowledge-dynamic-jobs --enable-profile-reuse
"
)
batcmd
=
gen_batsim_cmd
(
'
test/platforms/multicore/toy_pform_taurus_like.xml
'
,
'
test/workloads/multicore/empty_workload.json
'
,
output_dir
,
"
--energy --enable-compute-sharing --enable-dynamic-jobs --acknowledge-dynamic-jobs --enable-profile-reuse
"
)
instance
=
RobinInstance
(
output_dir
=
output_dir
,
instance
=
RobinInstance
(
output_dir
=
output_dir
,
batcmd
=
batcmd
,
batcmd
=
batcmd
,
schedcmd
=
f
"
bat
sched
-v bin_packing_energy --queue_order=desc_size --variant_options_filepath test/schedconf/routine_greedy_simple.json
"
,
schedcmd
=
f
"
bat
men
-v bin_packing_energy --queue_order=desc_size --variant_options_filepath test/schedconf/routine_greedy_simple.json
"
,
simulation_timeout
=
30
,
ready_timeout
=
5
,
simulation_timeout
=
30
,
ready_timeout
=
5
,
success_timeout
=
10
,
failure_timeout
=
0
success_timeout
=
10
,
failure_timeout
=
0
)
)
...
...
This diff is collapsed.
Click to expand it.
test/test_runner.py
+
1
−
1
View file @
56da7229
...
@@ -13,7 +13,7 @@ def test_basic_algo_no_param(platform_monoC, workload_monoC, basic_algo_no_param
...
@@ -13,7 +13,7 @@ def test_basic_algo_no_param(platform_monoC, workload_monoC, basic_algo_no_param
batcmd
=
gen_batsim_cmd
(
platform_monoC
.
filename
,
workload_monoC
.
filename
,
output_dir
,
""
)
batcmd
=
gen_batsim_cmd
(
platform_monoC
.
filename
,
workload_monoC
.
filename
,
output_dir
,
""
)
instance
=
RobinInstance
(
output_dir
=
output_dir
,
instance
=
RobinInstance
(
output_dir
=
output_dir
,
batcmd
=
batcmd
,
batcmd
=
batcmd
,
schedcmd
=
f
"
bat
sched
-v
'
{
basic_algo_no_param
}
'"
,
schedcmd
=
f
"
bat
men
-v
'
{
basic_algo_no_param
}
'"
,
simulation_timeout
=
30
,
ready_timeout
=
5
,
simulation_timeout
=
30
,
ready_timeout
=
5
,
success_timeout
=
10
,
failure_timeout
=
0
success_timeout
=
10
,
failure_timeout
=
0
)
)
...
...
This diff is collapsed.
Click to expand it.
test/test_users.py
+
1
−
1
View file @
56da7229
...
@@ -53,7 +53,7 @@ def run_user(user_name, platform_multiC, workload_multiC, test_name=None, schedc
...
@@ -53,7 +53,7 @@ def run_user(user_name, platform_multiC, workload_multiC, test_name=None, schedc
"
--energy --enable-compute-sharing --enable-dynamic-jobs --acknowledge-dynamic-jobs --enable-profile-reuse
"
)
"
--energy --enable-compute-sharing --enable-dynamic-jobs --acknowledge-dynamic-jobs --enable-profile-reuse
"
)
instance
=
RobinInstance
(
output_dir
=
output_dir
,
instance
=
RobinInstance
(
output_dir
=
output_dir
,
batcmd
=
batcmd
,
batcmd
=
batcmd
,
schedcmd
=
f
"
bat
sched
-v bin_packing --queue_order=desc_size --variant_options_filepath
{
schedconf
}
"
,
schedcmd
=
f
"
bat
men
-v bin_packing --queue_order=desc_size --variant_options_filepath
{
schedconf
}
"
,
simulation_timeout
=
30
,
ready_timeout
=
5
,
simulation_timeout
=
30
,
ready_timeout
=
5
,
success_timeout
=
10
,
failure_timeout
=
0
success_timeout
=
10
,
failure_timeout
=
0
)
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment