android-test icon indicating copy to clipboard operation
android-test copied to clipboard

This adds the option to get a properly configured gRPC connection to the emulator

Open copybara-service[bot] opened this issue 4 years ago • 0 comments

This adds the option to get a properly configured gRPC connection to the emulator in which this test is currently running.

The gRPC endpoint will be configured to:

  • Use TLS if needed.
  • Set a proper authorization header with token if needed.

The configuration is obtained from the arguments provided by the test runner. The following arguments are used:

  • grpc.port: The port where the emulator is hosting the gRPC services
  • grpc.token: JWT used to authenticate

The optional parameters require the injection of the actual pem and cert files to the android file system. They should only be visible to the current process under test

copybara-service[bot] avatar Jan 28 '22 21:01 copybara-service[bot]