Skip to content

Commit 5f18308

Browse files
author
Brendan Jackman
committed
tests/eas/acceptance: WakeMigration: Use Python dict not JSON
1 parent 3cad0e4 commit 5f18308

File tree

2 files changed

+24
-49
lines changed

2 files changed

+24
-49
lines changed

tests/eas/acceptance.py

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,30 @@ class WakeMigration(EasTest):
419419
the big cpus when they are big.
420420
"""
421421

422-
conf_basename = "acceptance_wake_migration.config"
422+
experiments_conf = {
423+
"wloads" : {
424+
"wake_migration" : {
425+
"type" : "rt-app",
426+
"conf" : {
427+
"class" : "profile",
428+
"params" : {
429+
"wmig" : {
430+
"kind" : "Step",
431+
"params" : {
432+
"start_pct": STEP_LOW_DCYCLE,
433+
"end_pct": STEP_HIGH_DCYCLE,
434+
"time_s": WORKLOAD_DURATION_S,
435+
"loops": 2
436+
},
437+
# Create one task for each big cpu
438+
"tasks" : "big",
439+
},
440+
},
441+
},
442+
},
443+
},
444+
"confs" : [energy_aware_conf]
445+
}
423446

424447
@experiment_test
425448
def test_first_cpu(self, experiment, tasks):

tests/eas/acceptance_wake_migration.config

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)