test: добавлен префикс test- ко всем тестовым пользователям для явной идентификации и cleanup

This commit is contained in:
“Naeel”
2026-05-02 14:57:11 +04:00
parent 6d02c532d2
commit 4348d291bc
5 changed files with 33 additions and 33 deletions
+4 -4
View File
@@ -58,9 +58,9 @@ invoke_call() {
echo "=== MULTIUSER TEST START run=$RUN_ID count=$COUNT ==="
for i in $(seq 1 "$COUNT"); do
USERS+=("${RUN_ID}-u${i}@test.local")
USERS+=("test-${RUN_ID}-u${i}@test.local")
(
U="${RUN_ID}-u${i}@test.local"
U="test-${RUN_ID}-u${i}@test.local"
CODE=$(init_call "${U}")
echo "$i:$CODE:$U" > "${TMP}/init-$i"
) &
@@ -81,7 +81,7 @@ echo "INIT_OK=$INIT_OK/$COUNT"
for i in $(seq 1 "$COUNT"); do
(
U="${RUN_ID}-u${i}@test.local"
U="test-${RUN_ID}-u${i}@test.local"
FN="mtfn-${RUN_ID}-${i}"
CODE_TEXT=$(printf 'def main():\n return "ok-%s-%s"\n' "$RUN_ID" "$i")
CODE_JSON=$(printf '%s' "$CODE_TEXT" | json_escape)
@@ -108,7 +108,7 @@ sleep 8
for i in $(seq 1 "$COUNT"); do
(
U="${RUN_ID}-u${i}@test.local"
U="test-${RUN_ID}-u${i}@test.local"
FN="mtfn-${RUN_ID}-${i}"
C=$(invoke_call "${U}" "${FN}")
echo "$i:$C" > "${TMP}/invoke-$i"