Skip to content

[Java] Add end-to-end coverage for LRO result selection - #12671

Draft
Weidong Xu (weidongxu-microsoft) wants to merge 1 commit into
microsoft:mainfrom
weidongxu-microsoft:java-lro-result-e2e
Draft

Weidong Xu (weidongxu-microsoft) wants to merge 1 commit into
microsoft:mainfrom
weidongxu-microsoft:java-lro-result-e2e

Conversation

@weidongxu-microsoft

Copy link
Copy Markdown
Contributor

Add the generated Java client and sync/async tests for Azure/typespec-azure#6106. The tests cover the full-resource result, the @clientLroResult property, and failed polls for both. No emitter or generator changes are needed for these scenarios.

All eight tests passed against the PR's Spector mocks using TCGC 0.75.0-dev.4 and Azure.Core 0.75.0-dev.2.

Keep this draft until @azure-tools/azure-http-specs ships the new mocks and the Java test module picks up that release.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 16b4d09e-a2a9-4a34-9d72-71b22075e1d0
@github-actions

Copy link
Copy Markdown
Contributor

All changed packages have been documented.

  • ✅ @typespec/http-client-java
Show changes

@typespec/http-client-java - internal ✏️

Add Java end-to-end coverage for default and selected LRO results, including failed polls.

@azure-sdk-automation

Copy link
Copy Markdown

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

emitter:client:java Issue for the Java client emitter: @typespec/http-client-java

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant