Skip to content

Add tests for durable receiver listener null#2259

Open
Joelgullander wants to merge 1 commit intoJasperFx:mainfrom
Joelgullander:durable-receiver-listener-null
Open

Add tests for durable receiver listener null#2259
Joelgullander wants to merge 1 commit intoJasperFx:mainfrom
Joelgullander:durable-receiver-listener-null

Conversation

@Joelgullander
Copy link
Contributor

@Joelgullander Joelgullander commented Mar 3, 2026

Summary

  • Add a unit test to reproduce the latched durable receiver NRE when Envelope.Listener is null.
  • Add a slow integration test that loads an envelope from the durable inbox (Postgres) and reproduces the NRE via the redelivery path.
  • Wire Wolverine.Postgresql into SlowTests for the integration repro.

Test plan

  • dotnet test src/Testing/CoreTests/CoreTests.csproj --filter durable_receiver_latched_without_listener
  • dotnet test src/Testing/SlowTests/SlowTests.csproj --filter durable_receiver_redelivery_from_inbox

Related to #2258

Reproduce the latched durable receiver NRE with a unit test and a slow integration test that loads envelopes from the durable inbox.

Made-with: Cursor
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