forked from mtusi2026/mtusi2026lab7
fix: close cheap known issues before final measurements
- reject inf/nan in every float setting; service.version 1.7.0 - close API storage clients within one 0.5 s window on shutdown - SeaweedFS admin identity via -s3.config, no access key id in log - RabbitMQ CLI distribution listener on loopback only - fix timing-dependent checks: test_issue_not_after, test_hung_worker_lease_fencing, reconcile-cycle, reconcile-signal User decision 2026-12-02: fix the cheap known issues; two scenarios added to main specs directly, without an OpenSpec change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -12,6 +12,7 @@ import threading
|
||||
import time
|
||||
from collections.abc import Iterator
|
||||
from dataclasses import dataclass, field
|
||||
from pathlib import Path
|
||||
from typing import Any
|
||||
from uuid import uuid4
|
||||
|
||||
@@ -272,6 +273,14 @@ def test_resource_has_four_attributes(signals: Signals) -> None:
|
||||
}
|
||||
|
||||
|
||||
def test_service_version_is_contract_version() -> None:
|
||||
"""`service.version` — `info.version` контракта лабы: константа
|
||||
переносится вместе с контрактом."""
|
||||
openapi = Path(__file__).resolve().parents[2] / "contracts/openapi.json"
|
||||
contract = json.loads(openapi.read_text(encoding="utf-8"))
|
||||
assert contract["info"]["version"] == SERVICE_VERSION
|
||||
|
||||
|
||||
# --- server span и метрика HTTP -------------------------------------------
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user