• Home
Name Date Size #Lines LOC

..--

lib/12-May-2024-11454

protos/12-May-2024-10987

README.mdD12-May-2024883 1914

call_credentials_returning_bad_metadata_doesnt_kill_background_thread_driver.rbD12-May-20246 KiB161124

call_credentials_returning_bad_metadata_doesnt_kill_background_thread_test.rbD12-May-20245.9 KiB152118

call_credentials_timeout_driver.rbD12-May-20246.3 KiB154111

call_credentials_timeout_test.rbD12-May-20246.5 KiB151111

channel_closing_client.rbD12-May-20241.9 KiB7042

channel_closing_driver.rbD12-May-20241.7 KiB5629

channel_closing_test.rbD12-May-20242 KiB6538

channel_state_client.rbD12-May-20241.1 KiB4019

channel_state_driver.rbD12-May-20241.6 KiB5022

channel_state_test.rbD12-May-20241.6 KiB5022

client_memory_usage_client.rbD12-May-20241.2 KiB4521

client_memory_usage_driver.rbD12-May-20241 KiB3716

client_memory_usage_test.rbD12-May-20241 KiB3716

end2end_common.rbD12-May-20244 KiB13794

errors_load_before_grpc_lib.rbD12-May-20242.3 KiB5231

errors_load_before_grpc_lib_test.rbD12-May-20242.3 KiB5231

forking_client_client.rbD12-May-20241.6 KiB5531

forking_client_driver.rbD12-May-20241.4 KiB4927

forking_client_test.rbD12-May-20241.4 KiB4927

gen_protos.shD12-May-2024700 181

graceful_sig_handling_client.rbD12-May-20241.9 KiB6237

graceful_sig_handling_driver.rbD12-May-20242.4 KiB8449

graceful_sig_handling_test.rbD12-May-20241.7 KiB5528

graceful_sig_stop_client.rbD12-May-20242.4 KiB7948

graceful_sig_stop_driver.rbD12-May-20241.9 KiB6333

graceful_sig_stop_test.rbD12-May-20241.2 KiB3612

grpc_class_init_client.rbD12-May-20242.8 KiB12992

grpc_class_init_driver.rbD12-May-20242.3 KiB6439

grpc_class_init_test.rbD12-May-20242.3 KiB6439

killed_client_thread_client.rbD12-May-20241.3 KiB4421

killed_client_thread_driver.rbD12-May-20242.8 KiB9054

killed_client_thread_test.rbD12-May-20242.8 KiB9054

load_grpc_with_gc_stress_driver.rbD12-May-20241.2 KiB3313

load_grpc_with_gc_stress_test.rbD12-May-20241.2 KiB3313

logger_load_before_grpc_lib.rbD12-May-20241.4 KiB3415

logger_load_before_grpc_lib_test.rbD12-May-20241.4 KiB3415

multiple_killed_watching_threads_driver.rbD12-May-20242 KiB6434

multiple_killed_watching_threads_test.rbD12-May-20242 KiB6434

package_with_underscore_checker.rbD12-May-20241.7 KiB5530

package_with_underscore_test.rbD12-May-20241.6 KiB5228

sig_handling_client.rbD12-May-20242.5 KiB8754

sig_handling_driver.rbD12-May-20242.1 KiB7241

sig_handling_test.rbD12-May-20241.4 KiB4420

sig_int_during_channel_watch_client.rbD12-May-20242.4 KiB7041

sig_int_during_channel_watch_driver.rbD12-May-20241.7 KiB5629

sig_int_during_channel_watch_test.rbD12-May-20241.8 KiB5731

status_codes_load_before_grpc_lib.rbD12-May-20241.3 KiB3314

status_codes_load_before_grpc_lib_test.rbD12-May-20241.3 KiB3314

README.md

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