Repository navigation
test(ai-proxy): await terminal observation after a failed write - #8547
Draft
yangjj-iso wants to merge 1 commit into
Draft
yangjj-iso wants to merge 1 commit into
yangjj-iso wants to merge 1 commit into
Conversation
This branch has not been deployed
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.
Problem and change
The loopback client's failed body read can return before the gateway records the terminal observation. The test then dereferences a missing terminal event. This failed at the same line in the #8273 build and the #7626 Java 21 job.
Call the existing
assertSingleObservationhelper before inspecting the outcome. It waits for the terminal event and verifies one terminal and one attempt. The assertions for the error outcome, transport-failure evidence, single upstream attempt and absence of a success metric are retained.IssueSpec
IssueSpec-Mode: lightweight
IssueSpec-Reason: Synchronize an existing integration test with its asynchronous observation fixture. This changes test code only.
IssueSpec-Validation: The project Checkstyle configuration and
git diff --checkpass. The targeted Maven wrapper command stopped at parent-POM resolution because this environment could not resolve Maven Central. Hosted test execution is pending.