Skip to content

test: log the error when a Kafka test loader exits - #253

Merged
catinspace-au merged 1 commit into
mainfrom
fix/test-run-errors
Oct 12, 2026
Merged

catinspace-au merged 1 commit into
mainfrom
fix/test-run-errors

Conversation

@catinspace-au

Copy link
Copy Markdown
Contributor

kafka_offset_floor and kafka_rebalance spawned the orchestrator and discarded the Result from run(). A loader that failed to start left the test waiting on a timeout with nothing in its output.

  • kafka_offset_floor start_loader() logs the error
  • kafka_rebalance logs it for both the first and the second loader
  • same shape as grpc_outage start()

The "config cascade not initialised" warning in in-process loader logs is left alone. config::setup() in the test harness would make every from_cascade() reader pick up ./settings.yaml, ./config/ and /config/ from whatever machine runs the tests, and the tests are written against the readers' defaults.

Done when a Kafka test loader that exits with an error says so in the failing test's output.

kafka_offset_floor and kafka_rebalance spawn the orchestrator and threw away what run() returned, so a loader that failed to start left a test waiting on a timeout with nothing in its output. They now log the error the way grpc_outage does.
@catinspace-au
catinspace-au merged commit 956195d into main Oct 12, 2026
17 checks passed
@catinspace-au
catinspace-au deleted the fix/test-run-errors branch October 12, 2026 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant