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

Multiapi test gen otpimization #2692

Merged
merged 3 commits into from
Jul 12, 2024
Merged

Multiapi test gen otpimization #2692

merged 3 commits into from
Jul 12, 2024

Conversation

msyyc
Copy link
Member

@msyyc msyyc commented Jul 12, 2024

No description provided.

@@ -555,6 +555,10 @@ def _serialize_and_write_test(self, env: Environment, namespace_path: Path):

for client in self.code_model.clients:
for og in client.operation_groups:
if self.code_model.options["multiapi"] and any(
o.api_versions[0] != self.code_model.options["default_api_version"] for o in og.operations
):
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only need to generate test for default api-version like we do for generate sample

@msyyc msyyc merged commit 6e93675 into main Jul 12, 2024
15 checks passed
@msyyc msyyc deleted the multiapi-test-gen branch July 12, 2024 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant