1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hmz007 6d24f2138b
Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56)
3 years ago
..
lib Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
protos Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
README.md Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
channel_closing_client.rb Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
channel_closing_driver.rb Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
channel_state_client.rb Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
channel_state_driver.rb Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
client_memory_usage_client.rb Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
client_memory_usage_driver.rb Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
end2end_common.rb Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
forking_client_client.rb Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
forking_client_driver.rb Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
gen_protos.sh Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
grpc_class_init_client.rb Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
grpc_class_init_driver.rb Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
killed_client_thread_client.rb Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
killed_client_thread_driver.rb Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
load_grpc_with_gc_stress_driver.rb Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
multiple_killed_watching_threads_driver.rb Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
package_with_underscore_checker.rb Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
sig_handling_client.rb Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
sig_handling_driver.rb Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
sig_int_during_channel_watch_client.rb Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
sig_int_during_channel_watch_driver.rb Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago

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).