32 lines
1.3 KiB
Bash
32 lines
1.3 KiB
Bash
|
|
# Test credentials and base URL for tests/load/ — NOT real secrets.
|
||
|
|
# Mirrors tests/api/test.env shape; uses a different server port (8088)
|
||
|
|
# so it does not collide with api-test (8087).
|
||
|
|
base_url=http://localhost:8088
|
||
|
|
username=admin
|
||
|
|
email=admin@example.com
|
||
|
|
# gitguardian:ignore
|
||
|
|
password=TestPassword1!
|
||
|
|
|
||
|
|
# ── Seed sizing ─────────────────────────────────────────────────────────────
|
||
|
|
# Folder count is exponential: total folders per subtree ≈ fanout^depth.
|
||
|
|
# The seeder builds TWO subtrees (one for the user-grant scenario, one for the
|
||
|
|
# group-grant scenario), so multiply by 2 for the grand total. Each leaf folder
|
||
|
|
# then gets `files_per_leaf` rows.
|
||
|
|
#
|
||
|
|
# Examples (folders per subtree):
|
||
|
|
# depth=4 fanout=3 → 121 (seed ≈ 1 s)
|
||
|
|
# depth=5 fanout=4 → 1 365 (seed ≈ 10 s) ← default
|
||
|
|
# depth=6 fanout=3 → 1 093 (seed ≈ 10 s)
|
||
|
|
# depth=8 fanout=3 → 9 841 (seed ≈ 30 s)
|
||
|
|
# depth=8 fanout=5 → 488 281 (seed ≈ several minutes — exponential blow-up)
|
||
|
|
#
|
||
|
|
# Override per run with LOAD_DEPTH / LOAD_FANOUT / LOAD_FILES_PER_LEAF.
|
||
|
|
|
||
|
|
load_depth=10
|
||
|
|
load_fanout=3
|
||
|
|
|
||
|
|
load_files_per_leaf=3
|
||
|
|
load_extra_users=20
|
||
|
|
load_group_depth=3
|
||
|
|
load_group_fanout=5
|