diff --git a/t/t1044-mf-priority-resource-limits.t b/t/t1044-mf-priority-resource-limits.t index 29ee970f..611aee43 100755 --- a/t/t1044-mf-priority-resource-limits.t +++ b/t/t1044-mf-priority-resource-limits.t @@ -43,8 +43,11 @@ test_expect_success 'add banks' ' flux account add-bank --parent-bank=root A 1 ' -test_expect_success 'add an association' ' - flux account add-user --username=user1 --userid=5001 --bank=A +test_expect_success 'add an association, configure max resource limits' ' + flux account add-user \ + --username=user1 --userid=5001 --bank=A \ + --max-active-jobs=1000 --max-running-jobs=3 \ + --max-nodes=2 --max-cores=4 ' test_expect_success 'send flux-accounting DB information to the plugin' ' @@ -91,4 +94,188 @@ test_expect_success 'cancel job; check resource counts' ' jq -e ".mf_priority_map[] | select(.userid == 5001) | .banks[0].cur_cores == 0" query.json && + test_debug "jq -S . query.json && + test_debug "jq -S . query.json && + test_debug "jq -S . query.json && + test_debug "jq -S . query.json && + test_debug "jq -S . query.json && + test_debug "jq -S . query.json && + test_debug "jq -S . query.json && + test_debug "jq -S . query.json && + test_debug "jq -S .