diff --git a/t/sharness.d/flux-accounting.sh b/t/sharness.d/flux-accounting.sh index bfe4ae061..596d24206 100644 --- a/t/sharness.d/flux-accounting.sh +++ b/t/sharness.d/flux-accounting.sh @@ -16,4 +16,10 @@ prepend_colon_separated FLUX_PYTHONPATH_PREPEND ${SRC_DIR}/src/bindings/python export FLUX_EXEC_PATH_PREPEND FLUX_PYTHONPATH_PREPEND +TEST_UID1=$(($(id -u)+1)) +TEST_UID2=$(($(id -u)+2)) +TEST_UID3=$(($(id -u)+3)) +TEST_UID4=$(($(id -u)+4)) +TEST_UID5=$(($(id -u)+5)) + # vi: ts=4 sw=4 expandtab diff --git a/t/t1019-mf-priority-info-fetch.t b/t/t1019-mf-priority-info-fetch.t index 67eddc424..b20cdcd82 100755 --- a/t/t1019-mf-priority-info-fetch.t +++ b/t/t1019-mf-priority-info-fetch.t @@ -61,8 +61,8 @@ test_expect_success 'add some projects to the DB' ' ' test_expect_success 'add a user with two different banks to the DB' ' - flux account add-user --username=user5001 --userid=5001 --bank=account1 --max-running-jobs=2 && - flux account add-user --username=user5001 --userid=5001 --bank=account2 + flux account add-user --username=user1 --userid=${TEST_UID1} --bank=account1 --max-running-jobs=2 && + flux account add-user --username=user1 --userid=${TEST_UID1} --bank=account2 ' test_expect_success 'send flux-accounting DB information to the plugin' ' @@ -72,22 +72,22 @@ test_expect_success 'send flux-accounting DB information to the plugin' ' test_expect_success HAVE_JQ 'fetch plugin state' ' flux jobtap query mf_priority.so > query_1.json && test_debug "jq -S . query_2.json && test_debug "jq -S . query_3.json && test_debug "jq -S .