forked from M-Labs/artiq
test/scheduler: add repo_msg
This commit is contained in:
parent
af230f6cf3
commit
52de6311a4
|
@ -37,7 +37,8 @@ def _get_basic_steps(rid, expid, priority=0, flush=False):
|
||||||
return [
|
return [
|
||||||
{"action": "setitem", "key": rid, "value":
|
{"action": "setitem", "key": rid, "value":
|
||||||
{"pipeline": "main", "status": "pending", "priority": priority,
|
{"pipeline": "main", "status": "pending", "priority": priority,
|
||||||
"expid": expid, "due_date": None, "flush": flush},
|
"expid": expid, "due_date": None, "flush": flush,
|
||||||
|
"repo_msg": None},
|
||||||
"path": []},
|
"path": []},
|
||||||
{"action": "setitem", "key": "status", "value": "preparing",
|
{"action": "setitem", "key": "status", "value": "preparing",
|
||||||
"path": [rid]},
|
"path": [rid]},
|
||||||
|
@ -89,7 +90,8 @@ class SchedulerCase(unittest.TestCase):
|
||||||
expect.insert(0,
|
expect.insert(0,
|
||||||
{"action": "setitem", "key": 0, "value":
|
{"action": "setitem", "key": 0, "value":
|
||||||
{"pipeline": "main", "status": "pending", "priority": 99,
|
{"pipeline": "main", "status": "pending", "priority": 99,
|
||||||
"expid": expid, "due_date": late, "flush": False},
|
"expid": expid, "due_date": late, "flush": False,
|
||||||
|
"repo_msg": None},
|
||||||
"path": []})
|
"path": []})
|
||||||
scheduler.submit("main", expid, 99, late, False)
|
scheduler.submit("main", expid, 99, late, False)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue