forked from mtusi2026/mtusi2026lab7
lab7: исправления по прогону своих тестов (таймаут Valkey с TLS 1,0 с, проверки по alias, GET вместо EXISTS), черновик REPORT, сборщик доказательств
This commit is contained in:
@@ -154,11 +154,11 @@ def main() -> int:
|
||||
["docker", "compose", "ps", "-a", "--format", "{{.Name}} {{.State}} {{.Status}}"], timeout=600)
|
||||
failover_both()
|
||||
argon2_bench()
|
||||
step("Телеметрия по mTLS: trace + logs", "trace-demo.txt", [PY, "scripts/trace_demo.py", "--output", str(EVIDENCE / "trace-demo-raw.txt")])
|
||||
step("Телеметрия по mTLS: trace + logs", "trace-demo.txt", [PY, "scripts/trace_demo.py"])
|
||||
step("Dashboard: все запросы через Grafana (HTTPS)", "dashboard-check.txt", [PY, "scripts/check_dashboard.py"])
|
||||
if not args.skip_student_tests:
|
||||
step("Свои тесты (unit + стенд, в т.ч. test_security.py)", "student-tests.txt",
|
||||
[PY, "-m", "pytest", "student-tests", "-v", "-p", "no:cacheprovider", "--durations=15"], timeout=5400)
|
||||
[PY, "-m", "pytest", "student-tests", "-v", "-p", "no:cacheprovider", "--durations=15"], timeout=14400)
|
||||
lines = ["# Сводка доказательств lab7", "", f"Собрано: {dt.datetime.now(dt.timezone.utc).isoformat(timespec='seconds')}", "",
|
||||
"| Шаг | Команда | Код | Файл | Время, с |", "| --- | --- | --- | --- | --- |"]
|
||||
for title, command, code, filename, elapsed in results:
|
||||
|
||||
Reference in New Issue
Block a user