From 8db96aaccf4ad845f766ca12c5e6e9ce01915512 Mon Sep 17 00:00:00 2001 From: "Dong H. Ahn" Date: Wed, 24 Jun 2020 11:51:04 -0700 Subject: [PATCH] fixup! remove intermediate resource types Problem: without the load-whitelist option, the resulting graph contains other intermediate resource types between node and socket such a way that the given jobspec (node[1]->slot[2]->socekt[1]) won't match. --- t/t4004-match-hwloc.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/t4004-match-hwloc.t b/t/t4004-match-hwloc.t index 3a994ee46..7aca38681 100755 --- a/t/t4004-match-hwloc.t +++ b/t/t4004-match-hwloc.t @@ -119,7 +119,8 @@ test_expect_success 'reloading session/hwloc information with test data' ' ' test_expect_success 'loading resource module with default resource info source' ' - load_resource subsystems=containment policy=high + load_resource subsystems=containment policy=high \ +load-whitelist=node,socket,core ' test_expect_success 'match-allocate works with four two-socket jobspecs' '