forked from mtusi2026/mtusi2026lab7
test(security): verify full lifecycle and audit clean-clone private material
This commit is contained in:
@@ -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
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user