lab2
Application / Lint (pull_request) Canceled after 0s
Application / Unit tests (pull_request) Canceled after 0s
Application / Docker build (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
Vladislav Kunetskiy
2026-10-06 00:19:15 +03:00
parent 51b236a69f
commit 5ea57db639
119 changed files with 9935 additions and 2138 deletions
+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/env bash
set -euo pipefail
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
OUT="$ROOT/evidence/cache"
GO="${GO:-go}"
cd "$ROOT"
mkdir -p "$OUT"
{
echo "# Cache consistency evidence (track 1)"
echo "# generated: $(date -u +%Y-%m-%dT%H:%M:%SZ)"
echo "# redis: ${TEST_REDIS_HOST:-localhost}:${TEST_REDIS_PORT:-6379} db=${TEST_REDIS_DB:-1}"
echo
"$GO" test -tags=integration -count=1 -v -timeout=5m \
-run 'TestChatRepositorySuite|TestSessionRepositorySuite' \
./internal/storage/redis/...
} | tee "$OUT/consistency.txt"
echo "wrote $OUT/consistency.txt"