grpc/src/ruby/end2end
Alexander Polcyn 010ea65be5 remove calls to optional paramaters so that the test is compatible with ruby versions < 2.1 2017-09-05 09:40:17 +02:00
..
lib fix remaining license notices 2017-06-08 11:22:41 +02:00
protos auto-fix most of licenses 2017-06-08 11:22:41 +02:00
README.md add copyright header to fix failing sanity tests 2017-03-15 17:32:40 -07:00
channel_closing_client.rb auto-fix most of licenses 2017-06-08 11:22:41 +02:00
channel_closing_driver.rb auto-fix most of licenses 2017-06-08 11:22:41 +02:00
channel_state_client.rb auto-fix most of licenses 2017-06-08 11:22:41 +02:00
channel_state_driver.rb auto-fix most of licenses 2017-06-08 11:22:41 +02:00
end2end_common.rb auto-fix most of licenses 2017-06-08 11:22:41 +02:00
forking_client_client.rb auto-fix most of licenses 2017-06-08 11:22:41 +02:00
forking_client_driver.rb auto-fix most of licenses 2017-06-08 11:22:41 +02:00
gen_protos.sh auto-fix most of licenses 2017-06-08 11:22:41 +02:00
grpc_class_init_client.rb remove calls to optional paramaters so that the test is compatible with ruby versions < 2.1 2017-09-05 09:40:17 +02:00
grpc_class_init_driver.rb auto-fix most of licenses 2017-06-08 11:22:41 +02:00
killed_client_thread_client.rb auto-fix most of licenses 2017-06-08 11:22:41 +02:00
killed_client_thread_driver.rb auto-fix most of licenses 2017-06-08 11:22:41 +02:00
multiple_killed_watching_threads_driver.rb auto-fix most of licenses 2017-06-08 11:22:41 +02:00
sig_handling_client.rb auto-fix most of licenses 2017-06-08 11:22:41 +02:00
sig_handling_driver.rb auto-fix most of licenses 2017-06-08 11:22:41 +02:00
sig_int_during_channel_watch_client.rb auto-fix most of licenses 2017-06-08 11:22:41 +02:00
sig_int_during_channel_watch_driver.rb auto-fix most of licenses 2017-06-08 11:22:41 +02:00

README.md

This directory contains some grpc-ruby end to end tests.

Each test here involves two files: a "driver" and a "client". For example, the "channel_closing" test involves channel_closing_driver.rb and channel_closing_client.rb.

Typically, the "driver" will start up a simple "echo" server, and then spawn a client. It gives the client the address of the "echo" server as well as an address to listen on for control rpcs. Depending on the test, the client usually starts up a "ClientControl" grpc server for the driver to interact with (the driver can tell the client process to do strange things at different times, depending on the test).

So far these tests are mostly useful for testing process-shutdown related situations, since the client's run in separate processes.

These tests are invoked through the "tools/run_tests/run_tests.py" script (the Rakefile doesn't start these).