Skip to content

Commit 3cad0e4

Browse files
author
Brendan Jackman
committed
tests/eas/acceptance: Offload+IdlePull: Use Python dict not JSON
1 parent 4739b03 commit 3cad0e4

File tree

2 files changed

+34
-57
lines changed

2 files changed

+34
-57
lines changed

tests/eas/acceptance.py

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,40 @@ class OffloadMigrationAndIdlePull(EasTest):
257257
258258
"""
259259

260-
conf_basename = "acceptance_offload_idle_pull.config"
260+
experiments_conf = {
261+
"wloads" : {
262+
"early_and_migrators" : {
263+
"type" : "rt-app",
264+
"conf" : {
265+
"class" : "profile",
266+
"params" : {
267+
"early" : {
268+
"kind" : "Periodic",
269+
"params" : {
270+
"duty_cycle_pct": 100,
271+
"duration_s": WORKLOAD_DURATION_S,
272+
"period_ms": WORKLOAD_PERIOD_MS,
273+
},
274+
# Create one task for each big CPU
275+
"tasks" : "big",
276+
},
277+
"migrator" : {
278+
"kind" : "Periodic",
279+
"params" : {
280+
"duty_cycle_pct": 100,
281+
"duration_s": WORKLOAD_DURATION_S,
282+
"period_ms": WORKLOAD_PERIOD_MS,
283+
"delay_s": OFFLOAD_MIGRATION_MIGRATOR_DELAY,
284+
},
285+
# Create one task for each big CPU
286+
"tasks" : "big",
287+
},
288+
},
289+
},
290+
},
291+
},
292+
"confs" : [energy_aware_conf]
293+
}
261294

262295
@experiment_test
263296
def test_first_cpu(self, experiment, tasks):

tests/eas/acceptance_offload_idle_pull.config

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

0 commit comments

Comments
 (0)