# worker limits
# date: 2026-11-10T13:41:24Z, branch: solution/bvt2304-koshelev, host: Apple M3 8 CPU 16 GiB, Docker Desktop 28.0.1
# command: python3 student-tests/limits_test.py

big image: 105048 bytes compressed, 6000x6000
PASS default limits (768 MiB, 60 s): ready in 1.0s, {'thumbnail': (256, 256), 'crop': (128, 128), 'optimized': (1280, 1280)}
PASS RLIMIT_AS 160 MiB: failed/image_too_large after 1 attempt
PASS JOB_TIMEOUT 0.3 s: child killed each attempt, 4 retries, then failed/retry_exhausted
PASS: worker limits
