Подтвердить трек 2 реальными сбоями, нагрузкой и отчётом

This commit is contained in:
2026-11-20 07:05:16 +03:00
parent 42bf6aa702
commit ef1f470659
43 changed files with 11538 additions and 30 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ def main(args):
c = Client(args.base_url)
begin = time.monotonic()
att = c.call('POST', '/api/v1/chats/' + chat['id'] + '/attachments?filename=load.png', 202,
raw=raw, actor=alice, headers={'Content-Type': 'image/png'})['json']
raw=raw, actor=alice, headers={'Content-Type': 'image/png'}, schema='Attachment')['json']
accepted = time.monotonic()
ready = c.wait_ready(alice, att)
check(len(ready['variants']) == 3 and ready['sha256'] == hashlib.sha256(raw).hexdigest(), 'bad load result')