Skip to content

test: add integration test reproducing streaming subscription disruption with RabbitMQ#1705

Draft
javier-aliaga wants to merge 1 commit intodapr:masterfrom
javier-aliaga:fix-streaming-subscription-1701
Draft

test: add integration test reproducing streaming subscription disruption with RabbitMQ#1705
javier-aliaga wants to merge 1 commit intodapr:masterfrom
javier-aliaga:fix-streaming-subscription-1701

Conversation

@javier-aliaga
Copy link
Copy Markdown
Contributor

Adds an integration test using RabbitMQ testcontainer that reproduces the issue where stopping and restarting a streaming subscription causes all other active subscriptions to disconnect with Exception (504). The Dapr sidecar reuses the topic name as the RabbitMQ consumer tag, and RabbitMQ rejects the duplicate tag with a connection-level error that cascades to all consumers on the shared connection. This test currently fails, confirming the bug is in the Dapr runtime.

Description

Please explain the changes you've made

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #[issue number]

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

…ion with RabbitMQ (dapr#1701)

Adds an integration test using RabbitMQ testcontainer that reproduces the
issue where stopping and restarting a streaming subscription causes all
other active subscriptions to disconnect with Exception (504). The Dapr
sidecar reuses the topic name as the RabbitMQ consumer tag, and RabbitMQ
rejects the duplicate tag with a connection-level error that cascades to
all consumers on the shared connection. This test currently fails,
confirming the bug is in the Dapr runtime.

Signed-off-by: Javier Aliaga <javier@dapr.io>
Signed-off-by: Javier Aliaga <javier@diagrid.io>
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.53%. Comparing base (12d8c7a) to head (5a01c80).

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1705      +/-   ##
============================================
- Coverage     79.54%   79.53%   -0.02%     
- Complexity     2196     2197       +1     
============================================
  Files           238      238              
  Lines          6591     6591              
  Branches        732      732              
============================================
- Hits           5243     5242       -1     
- Misses          990      992       +2     
+ Partials        358      357       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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