Воспроизведите сбои и повторную доставку заданий
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user