Replace Assert.Ignore with Assert.Fail for Docker availability checks#72
Merged
Replace Assert.Ignore with Assert.Fail for Docker availability checks#72
Conversation
… across all test files Agent-Logs-Url: https://github.com/devstress/My3DLearning/sessions/83390dc6-fc9e-478e-a484-a2d6260821bc Co-authored-by: devstress <30769729+devstress@users.noreply.github.com>
…eFixture Agent-Logs-Url: https://github.com/devstress/My3DLearning/sessions/83390dc6-fc9e-478e-a484-a2d6260821bc Co-authored-by: devstress <30769729+devstress@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
devstress
April 9, 2026 11:42
View session
Root cause: Aspire's TCP proxy (randomly assigned port 35461) doesn't properly relay Kafka's binary protocol. ApiVersionRequest consistently times out through the proxy. Additionally, KAFKA_CFG_ADVERTISED_LISTENERS hardcodes localhost:29094, which doesn't match the proxy's dynamic port. Fix: Set isProxied: false on the Kafka endpoint so Docker maps port 29094 directly to container port 9094, bypassing the proxy entirely. This ensures the advertised listener address matches the actual host port. Agent-Logs-Url: https://github.com/devstress/My3DLearning/sessions/698b16d3-177d-4c3f-b6b3-e24a19e34316 Co-authored-by: devstress <30769729+devstress@users.noreply.github.com>
…afka:3.9.0 Root causes: 1. bitnami/kafka:3.9.0 image no longer exists on Docker Hub, so the container was never created by Aspire DCP 2. Apache Kafka image requires ://:PORT format (not ://0.0.0.0:PORT) in listeners, otherwise it rejects the config at startup 3. isProxied: false with direct port mapping (host:29092 → container:9092) is needed because Aspire's ReferenceExpression doesn't resolve the proxy port in container env vars Agent-Logs-Url: https://github.com/devstress/My3DLearning/sessions/d337bf73-153e-47f0-b884-a0b2eb881ec6 Co-authored-by: devstress <30769729+devstress@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
bitnami/kafka:3.9.0image no longer exists on Docker Hub — container never created0.0.0.0in listeners formatapache/kafka:3.9.0withisProxied: falseand direct port mapping