Skip to content

Commit

Permalink
Merge pull request #929 from garlick/more_xml_sadness
Browse files Browse the repository at this point in the history
testsuite: disable more failing test that need resource.get-xml
  • Loading branch information
mergify[bot] authored Apr 8, 2022
2 parents 5258922 + 69e0060 commit 6d36c29
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions t/t4004-match-hwloc.t
Original file line number Diff line number Diff line change
Expand Up @@ -122,43 +122,43 @@ test_expect_success 'removing resource works' '
remove_resource
'

test_expect_success 'load test resources (4N4B)' '
test_expect_success HAVE_GETXML 'load test resources (4N4B)' '
load_test_resources ${excl_4N4B}
'

test_expect_success 'loading resource module with default resource info source' '
test_expect_success HAVE_GETXML 'loading resource module with default resource info source' '
load_resource subsystems=containment policy=high \
load-format=hwloc load-allowlist=node,socket,core
'

test_expect_success 'match-allocate works with four two-socket jobspecs' '
test_expect_success HAVE_GETXML 'match-allocate works with four two-socket jobspecs' '
flux ion-resource match allocate ${jobspec_2socket} &&
flux ion-resource match allocate ${jobspec_2socket} &&
flux ion-resource match allocate ${jobspec_2socket} &&
flux ion-resource match allocate ${jobspec_2socket}
'

test_expect_success 'match-allocate fails when all resources are allocated' '
test_expect_success HAVE_GETXML 'match-allocate fails when all resources are allocated' '
test_expect_code 16 flux ion-resource match allocate ${jobspec_2socket} &&
test_expect_code 16 flux ion-resource match allocate ${jobspec_2socket} &&
test_expect_code 16 flux ion-resource match allocate ${jobspec_2socket} &&
test_expect_code 16 flux ion-resource match allocate ${jobspec_2socket}
'

test_expect_success 'unload fluxion resource' '
test_expect_success HAVE_GETXML 'unload fluxion resource' '
remove_resource
'

test_expect_success 'load test resources (4N4B_sierra2)' '
test_expect_success HAVE_GETXML 'load test resources (4N4B_sierra2)' '
load_test_resources ${excl_4N4B_sierra2}
'

test_expect_success 'load fluxion resource' '
test_expect_success HAVE_GETXML 'load fluxion resource' '
load_resource subsystems=containment policy=high \
load-format=hwloc load-allowlist=node,socket,core,gpu
'

test_expect_success 'match allocate' '
test_expect_success HAVE_GETXML 'match allocate' '
flux ion-resource match allocate ${jobspec_1socket_2gpu} &&
flux ion-resource match allocate ${jobspec_1socket_2gpu} &&
flux ion-resource match allocate ${jobspec_1socket_2gpu} &&
Expand All @@ -170,7 +170,7 @@ test_expect_success 'match allocate' '
test_expect_code 16 flux ion-resource match allocate ${jobspec_1socket_2gpu}
'

test_expect_success 'removing resource works' '
test_expect_success HAVE_GETXML 'removing resource works' '
remove_resource
'

Expand Down

0 comments on commit 6d36c29

Please sign in to comment.