test(security): verify full lifecycle and audit clean-clone private material

This commit is contained in:
2026-11-20 20:09:13 +03:00
parent 5c91f605fb
commit 0061722f93
7 changed files with 158 additions and 5 deletions
+2 -2
View File
@@ -175,7 +175,7 @@ def main():
]
limited = [x for x in report["measurements"] if x["status"] == 429]
assert limited and admitted
assert len(admitted) <= 8 + int(2 * duration) + 1
assert len(admitted) <= 16 + int(8 * duration) + 1
assert len({x["instance"] for x in report["measurements"]}) == 2
assert health and all(x["status"] == 200 for x in health)
buckets = int(
@@ -195,7 +195,7 @@ def main():
),
"both_replicas_observed": True,
"new_account_buckets": buckets,
"shared_admission_bound": 8 + int(2 * duration) + 1,
"shared_admission_bound": 16 + int(8 * duration) + 1,
"limited_median_seconds": statistics.median(
x["seconds"] for x in limited
),