Воспроизведите сбои и повторную доставку заданий

This commit is contained in:
2026-11-18 15:33:34 +03:00
parent 2dc566e6ec
commit 29813a1d9d
3 changed files with 467 additions and 0 deletions
+7
View File
@@ -121,3 +121,10 @@ codec-test:
go test -c -o bin/imaging.test ./internal/imaging
docker build --target worker -t mtusi-messenger-worker:lab5 .
docker run --rm --network none --cpus 2 --memory 2g --entrypoint /codec/imaging.test -e CODEC_REQUIRED=1 $(if $(filter 1,$(CODEC_STRESS)),-e CODEC_FIXTURES=/codec/decoder-fixtures,) --mount "type=bind,source=$(CURDIR)/bin,target=/codec,readonly" mtusi-messenger-worker:lab5 -test.v
# Explicit destructive-to-availability experiment on this lab's own stand.
# Containers restart; volumes and accepted attachments are preserved.
.PHONY: track2
track2:
docker compose -f compose.yaml -f compose.faults.yaml up -d --build --wait
$(PYTHON) -X utf8 scripts/lab5/track2.py --project lab5 --base-url "$(BASE_URL)" --output "$(EVIDENCE_DIR)/track2/run.json"