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