mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-02 13:00:10 +02:00
Address e2e review feedback
- Add ENABLE_CAPTCHA=false to CI app.ini so the server starts with CAPTCHA disabled instead of relying on env var in test script - Retry on 502/503 in addition to 500 in apiRetry helper - Fix typo: workarkound → workaround - Add comment about section-unaware INI parsing in test-e2e.sh Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
6ea6c37762
commit
e9e676d553
3 files changed
+6
-2
No files matched your search
@@ -10,6 +10,7 @@ if [ -z "${E2E_URL:-}" ]; then
|
||||
echo " E2E_URL=http://localhost:3000 make test-e2e" >&2
|
||||
exit 1
|
||||
fi
|
||||
# Note: this does not respect INI sections, assumes ROOT_URL only appears under [server]
|
||||
ROOT_URL=$(sed -n 's/^ROOT_URL\s*=\s*//p' "$INI_FILE" | tr -d '[:space:]')
|
||||
if [ -z "$ROOT_URL" ]; then
|
||||
echo "error: ROOT_URL not found in $INI_FILE" >&2
|
||||
|
||||
Reference in new issue
Block a user