Skip to content

test(integration): TestNATSBackend_EndToEnd flakes in CI (no event in 30s) #768

Closed

Description

@EricAndrechek

Problem. TestNATSBackend_EndToEnd (tests/integration/mq_nats_test.go) failed in CI with:

mq_nats_test.go:214: no event with "\"a1\"" within 30s
--- FAIL: TestNATSBackend_EndToEnd (31.34s)

Evidence (measured).

Context (inferred, not confirmed).

  • The test waits up to 30 s for an ingested row to surface as an event. Under -race with -parallel 8 on a 4-vCPU runner, the end-to-end path (NATS JetStream, ingest worker, ClickHouse, event delivery) may need longer than that when it shares the machine with other parallel tests.
  • The review of ci(integration): split the suite into parallel parts, select by tag #756 named timing-sensitive integration tests as a flake risk under the new parallelism. This failure is consistent with that, but one occurrence doesn't establish the cause.

Related: #756, #743. Part of #740.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions