• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1This directory contains some grpc-ruby end to end tests.
2
3Each test here involves two files: a "driver" and a "client". For example,
4the "channel_closing" test involves channel_closing_driver.rb
5and channel_closing_client.rb.
6
7Typically, the "driver" will start up a simple "echo" server, and then
8spawn a client. It gives the client the address of the "echo" server as
9well as an address to listen on for control rpcs. Depending on the test, the
10client usually starts up a "ClientControl" grpc server for the driver to
11interact with (the driver can tell the client process to do strange things at
12different times, depending on the test).
13
14So far these tests are mostly useful for testing process-shutdown related
15situations, since the client's run in separate processes.
16
17These tests are invoked through the "tools/run_tests/run_tests.py" script (the
18Rakefile doesn't start these).
19