drop the hive-side matrix code: sweep, hivectl matrix and the apiUrl option
This commit is contained in:
parent
a00bcb8c05
commit
6dbb18b6d4
1 changed files with 49 additions and 1007 deletions
|
|
@ -1507,19 +1507,13 @@ fn destroy_container_must_not_suppress_crash_watch() {
|
|||
|
||||
#[test]
|
||||
fn each_sweep_holds_its_own_resource() {
|
||||
// Same kind, same capacity-1 resource: two passes serialise. Different
|
||||
// kinds, disjoint resources and no edges: they run side by side. That the
|
||||
// Same kind, same capacity-1 resource: two passes serialise. That the
|
||||
// scheduler honours this is `hive_jobq`'s
|
||||
// `unrelated_nodes_needing_the_same_resource_are_serialized`.
|
||||
let q = JobQueue::new(1);
|
||||
insert(&q, |builder| {
|
||||
let _ = templates::matrix_sweep(builder);
|
||||
let _ = templates::knowledge_pull(builder);
|
||||
});
|
||||
assert_eq!(
|
||||
declared_resources_of_kind(&q, "matrix_sweep"),
|
||||
vec![vec![Resource::MatrixSweep]]
|
||||
);
|
||||
assert_eq!(
|
||||
declared_resources_of_kind(&q, "knowledge_pull"),
|
||||
vec![vec![Resource::KnowledgeTree]]
|
||||
|
|
|
|||
Loading…
Reference in a new issue