microsoft / microsoft/aspire

[CI Failure] Flaky: AspireRabbitMQLoggingTests.TestExceptionWithoutInnerException fails with empty collection

Open
#18,801 1 comment 0 reactions 0 assignees View on GitHub
ci-failure-cause test-failure
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

## Build Information

Build: https://github.com/microsoft/aspire/actions/runs/29456677302
Build error leg or test failing: Tests / RabbitMQ.Client.v6 / RabbitMQ.Client.v6 (windows-latest) / `Aspire.RabbitMQ.Client.Tests.AspireRabbitMQLoggingTests.TestExceptionWithoutInnerException`
Pull request: #18799

## Error Message

```
Assert.Single() Failure: The collection was empty
at Aspire.RabbitMQ.Client.Tests.AspireRabbitMQLoggingTests.TestExceptionWithoutInnerException() in /_/tests/Aspire.RabbitMQ.Client.Tests/AspireRabbitMQLoggingTests.cs:line 164
```

## Description

Flaky: AspireRabbitMQLoggingTests.TestExceptionWithoutInnerException fails with empty collection

**Type**: flaky-test

## Occurrences

| Date | Build | Job | PR |
|------|-------|-----|----|
| 2026-07-15 | [29456677302](https://github.com/microsoft/aspire/actions/runs/29456677302) | Tests / RabbitMQ.Client.v6 / RabbitMQ.Client.v6 (windows-latest) | #18799 |

Contributor guide

Open the contributing guide

Research direction

Start with tests/Aspire.RabbitMQ.Client.Tests/AspireRabbitMQLoggingTests.cs, especially TestExceptionWithoutInnerException at line 164, and reproduce the Windows CI failure from build 29456677302. Check why the collection is empty when Assert.Single runs; done means the test reliably observes the expected single result without flaking.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, rabbitmq
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.