forked from mtusi2026/mtusi2026lab3
feat: исправила JSON-поля, пагинации и отчёт
This commit is contained in:
@@ -21,6 +21,7 @@ def main():
|
||||
('offline', ['scripts/check_contract.py']),
|
||||
('smoke', ['tests/smoke.py', '--base-url', base_url()]),
|
||||
('integration', ['student-tests/integration.py']),
|
||||
('review-regressions', ['student-tests/review_regressions.py']),
|
||||
('persistence', ['tests/resilience.py', '--mode', 'persistence', '--action-script', 'scripts/restart'+suffix, '--base-url', base_url()]),
|
||||
('failover', ['tests/resilience.py', '--mode', 'failover', '--action-script', 'scripts/stop-one'+suffix, '--base-url', base_url()]),
|
||||
('all-replica-failures', ['student-tests/resilience_load.py']),
|
||||
@@ -50,6 +51,8 @@ def main():
|
||||
result['containers'] = containers()
|
||||
result['all_passed'] = True
|
||||
(ROOT/'evidence'/'verification.json').write_text(json.dumps(result, indent=2)+'\n')
|
||||
# Keep the report synchronized whenever a new verification replaces raw data.
|
||||
subprocess.run([sys.executable, '-X', 'utf8', 'student-tests/summarize.py'], cwd=ROOT, check=True)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user