Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RabbitMQ logging tests #2343

Merged
merged 2 commits into from
Feb 22, 2024
Merged

Conversation

eerhardt
Copy link
Member

@eerhardt eerhardt commented Feb 21, 2024

Adds 2 different types of tests.

  • Unit tests that directly call the RabbitMQ EventSource with specific inputs. The most interesting thing to verify here is exception information is serialized properly.
  • An end-to-end test that stops the RabbitMQ server and ensures the client logs messages.

Fix #674

Microsoft Reviewers: Open in CodeFlow

Adds 2 different types of tests.

- Unit tests that directly call the RabbitMQ EventSource with specific inputs. The most interesting thing to verify here is exception information is serialized properly.
- An end-to-end test that stops the RabbitMQ server and ensures the client logs messages.

Fix dotnet#674
@eerhardt eerhardt added the area-integrations Issues pertaining to Aspire Integrations packages label Feb 22, 2024
@eerhardt eerhardt merged commit 2d4e93d into dotnet:main Feb 22, 2024
8 checks passed
@eerhardt eerhardt deleted the AddRabbitMQLogTests branch February 22, 2024 02:50
@github-actions github-actions bot locked and limited conversation to collaborators Apr 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-integrations Issues pertaining to Aspire Integrations packages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Write tests for RabbitMQ Logging
3 participants