forked from mtusi2026/mtusi2026lab3
test: cover persistence failover and graceful draining
Add API integration checks, migration compatibility, rolling restart scenarios and a report verification collector.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
services:
|
||||
benchmark:
|
||||
image: ${BENCHMARK_IMAGE:-mtusi2026lab2-fork-backend}
|
||||
working_dir: /app
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
DATABASE_URL: postgresql://${POSTGRES_USER:-app}:${POSTGRES_PASSWORD:-local_dev_password}@postgres:5432/${POSTGRES_DB:-chat}
|
||||
CACHE_URL: redis://redis:6379/0
|
||||
volumes:
|
||||
- ./test:/app/test:ro
|
||||
- ./evidence:/results
|
||||
command: ['node', 'test/cache-benchmark.mjs', '${BENCHMARK_STAGE:-after}', '/results/cache-epochs-${BENCHMARK_STAGE:-after}.json']
|
||||
Reference in New Issue
Block a user