Allow long AI QA proxy requests
This commit is contained in:
@@ -126,6 +126,15 @@ def test_nginx_runtime_allows_real_gis_upload_payloads() -> None:
|
||||
assert "client_max_body_size 250m;" in all_in_one_nginx
|
||||
|
||||
|
||||
def test_nginx_runtime_allows_long_ai_and_qa_requests() -> None:
|
||||
frontend_nginx = (ROOT / "frontend" / "nginx.conf").read_text(encoding="utf-8")
|
||||
all_in_one_nginx = (ROOT / "deploy" / "unraid" / "nginx-all-in-one.conf").read_text(encoding="utf-8")
|
||||
|
||||
for config in (frontend_nginx, all_in_one_nginx):
|
||||
assert "proxy_read_timeout 600s;" in config
|
||||
assert "proxy_send_timeout 600s;" in config
|
||||
|
||||
|
||||
def test_compose_does_not_publish_postgis_on_default_host_port() -> None:
|
||||
compose = (ROOT / "docker-compose.yml").read_text(encoding="utf-8")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user