nirfsg: Enable complex number support for gRPC and update system tests.#6
Open
nirfsg: Enable complex number support for gRPC and update system tests.#6
Conversation
…t_get_all_named_waveform_names in test_system_nirfsg to common path for testing
- Add @pytest.mark.skipif decorator to TestGrpc class - Add connectivity check with 20s timeout in grpc_channel fixture - Keep test_get_all_named_waveform_names in TestLibrary for 32-bit coverage
This reverts commit 799b901.
f951952 to
df2dade
Compare
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.
I've updated CHANGELOG.md if applicable.What does this Pull Request accomplish?
does_function_use_complex_parameters()- Check if function uses complex arraysget_grpc_complex_request_args_snippet()- Convert numpy arrays to gRPC protobuf formatget_grpc_response_info()- Normalize return snippets and response assignment_grpc_stub_interpreter.py.makotemplate to importnidevice_pb2 as grpc_complex_typesonly if complex numbers are used in the module.grpc_server_config.jsonfile for nirfsg to include the address and port for server listening.List issues fixed by this Pull Request below, if any.
What testing has been done?
TestGrpcclass intest_system_nirfsg.pyto include gRPC-based system test session setup.gRPC-devicerepo.