This commit is contained in:
Vladislav Kunetskiy
2026-10-15 20:52:43 +03:00
parent 4300d49c20
commit 4e84354642
125 changed files with 12049 additions and 2120 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"