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

Improve asyncio testing #6122

Merged
merged 1 commit into from
Jul 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion qa/L0_grpc/python_grpc_aio_test.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python
# Copyright 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# Copyright 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
Expand Down Expand Up @@ -56,6 +56,9 @@ async def test_get_server_metadata(self):
ret = await self._triton_client.get_server_metadata()
self.assertEqual(ret.name, "triton")

ret = await self._triton_client.get_server_metadata(as_json=True)
self.assertEqual(ret["name"], "triton")

async def test_get_model_metadata(self):
ret = await self._triton_client.get_model_metadata("simple")
self.assertEqual(ret.name, "simple")
Expand Down
1 change: 1 addition & 0 deletions qa/L0_grpc/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -653,3 +653,4 @@ else
fi

exit $RET