Skip to content

Add integration test: NATSListener rejects malformed real NATS subject #307

@mvillmow

Description

@mvillmow

The current tests for NATSListener._on_task_event are pure unit tests using mocked TaskClaimer. There is no integration test that wires up a real (or simulated) NATS message delivery and verifies that a message with a malformed subject is dropped end-to-end. An integration test in tests/integration/ would confirm the validation holds through the full dispatch chain.

Follow-up from #137

Metadata

Metadata

Assignees

No one assigned

    Labels

    testingTesting findingtier:hardArchitectural or complex multi-phase issue, deferred

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions