-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: grpc client for tap aggregator (#583)
* feat: remove jsonrpc client in favor of grpc client Co-authored-by: Gustavo Inacio <[email protected]> Signed-off-by: pedro bufulin <[email protected]> Signed-off-by: Gustavo Inacio <[email protected]> * refactor: adjust endpoint in test * chore: cargo fmt * refactor: remove commented code and unnecessary stop of handler in test * test: handle error from failed connection * feat: log out endpoint in case of failed connection attempt * ci: add TapAggregator server mock to minimize changes to tests * ci: fix line indent * ci: force ri rerun * refactor: cargo fmt * ci: move mock server start to test-and-coverage * test: test aggregator server helper function * test: instantiate server instead of using mock * ci: remove unnecessary step * refactor: correct typo * refactor: correct typo * refactor: replace space * refactor: remove unnecessary message * test: fix hanging test Signed-off-by: Gustavo Inacio <[email protected]> * refactor: change expect with context Signed-off-by: Gustavo Inacio <[email protected]> * test: use get_grpc_url() to spawn a grpc Signed-off-by: Gustavo Inacio <[email protected]> * test: use server_url directly Signed-off-by: Gustavo Inacio <[email protected]> * test: update all tests to use get_grpc_url Signed-off-by: Gustavo Inacio <[email protected]> * chore: add comment about compression Signed-off-by: Gustavo Inacio <[email protected]> --------- Signed-off-by: pedro bufulin <[email protected]> Signed-off-by: Gustavo Inacio <[email protected]> Co-authored-by: pedro bufulin <[email protected]>
- Loading branch information
Showing
8 changed files
with
231 additions
and
207 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.