Handle PNG EXIF and distinguish transient encoder crashes from invalid images
This commit is contained in:
@@ -149,6 +149,7 @@ services:
|
||||
s3-init: {condition: service_completed_successfully}
|
||||
restart: unless-stopped
|
||||
tests:
|
||||
volumes: [go_test_cache:/root/.cache/go-build]
|
||||
image: mtusi-messenger-tests:lab5
|
||||
cpus: 2
|
||||
mem_limit: 1024m
|
||||
@@ -157,6 +158,8 @@ services:
|
||||
context: .
|
||||
target: tests
|
||||
environment:
|
||||
GOMAXPROCS: "2"
|
||||
GOFLAGS: -p=2
|
||||
DATABASE_TEST_URL_FILE: /run/secrets/database_url
|
||||
secrets: [database_url]
|
||||
depends_on:
|
||||
@@ -187,6 +190,7 @@ secrets:
|
||||
cache_url: {file: ./secrets/cache_url}
|
||||
cursor_key: {file: ./secrets/cursor_key}
|
||||
volumes:
|
||||
go_test_cache:
|
||||
broker_data:
|
||||
s3_data:
|
||||
postgres_data:
|
||||
|
||||
Reference in New Issue
Block a user