Hannah Shi 0fc521067b Ruby: support for PSM security (#25330) 4 vuotta sitten
..
lib 27687563d6 Fix child process port selection in ruby end-to-end tests 4 vuotta sitten
protos 27687563d6 Fix child process port selection in ruby end-to-end tests 4 vuotta sitten
README.md 071f74f6f1 add copyright header to fix failing sanity tests 8 vuotta sitten
call_credentials_returning_bad_metadata_doesnt_kill_background_thread_test.rb 9b4ef62cb9 Split up run_ruby_end2end_tests.sh into more granular test targets 5 vuotta sitten
call_credentials_timeout_test.rb b14019661f Don't perform unnecessary RPCs in call creds timeout test 4 vuotta sitten
channel_closing_client.rb 27687563d6 Fix child process port selection in ruby end-to-end tests 4 vuotta sitten
channel_closing_test.rb 45e41137a8 Replaces disrespectful terms (#25501) 4 vuotta sitten
channel_state_client.rb 27687563d6 Fix child process port selection in ruby end-to-end tests 4 vuotta sitten
channel_state_test.rb 45e41137a8 Replaces disrespectful terms (#25501) 4 vuotta sitten
client_memory_usage_client.rb 27687563d6 Fix child process port selection in ruby end-to-end tests 4 vuotta sitten
client_memory_usage_test.rb 27687563d6 Fix child process port selection in ruby end-to-end tests 4 vuotta sitten
end2end_common.rb 27687563d6 Fix child process port selection in ruby end-to-end tests 4 vuotta sitten
errors_load_before_grpc_lib_test.rb 9b4ef62cb9 Split up run_ruby_end2end_tests.sh into more granular test targets 5 vuotta sitten
forking_client_client.rb 45e41137a8 Replaces disrespectful terms (#25501) 4 vuotta sitten
forking_client_test.rb 45e41137a8 Replaces disrespectful terms (#25501) 4 vuotta sitten
gen_protos.sh 7897ae9308 auto-fix most of licenses 8 vuotta sitten
graceful_sig_handling_client.rb 27687563d6 Fix child process port selection in ruby end-to-end tests 4 vuotta sitten
graceful_sig_handling_test.rb 27687563d6 Fix child process port selection in ruby end-to-end tests 4 vuotta sitten
graceful_sig_stop_client.rb 27687563d6 Fix child process port selection in ruby end-to-end tests 4 vuotta sitten
graceful_sig_stop_test.rb 27687563d6 Fix child process port selection in ruby end-to-end tests 4 vuotta sitten
grpc_class_init_client.rb 0fc521067b Ruby: support for PSM security (#25330) 4 vuotta sitten
grpc_class_init_test.rb 0fc521067b Ruby: support for PSM security (#25330) 4 vuotta sitten
killed_client_thread_client.rb 27687563d6 Fix child process port selection in ruby end-to-end tests 4 vuotta sitten
killed_client_thread_test.rb 45e41137a8 Replaces disrespectful terms (#25501) 4 vuotta sitten
load_grpc_with_gc_stress_test.rb f4e55b85bc Replace disrespectful term 4 vuotta sitten
logger_load_before_grpc_lib_test.rb 9b4ef62cb9 Split up run_ruby_end2end_tests.sh into more granular test targets 5 vuotta sitten
multiple_killed_watching_threads_test.rb f4e55b85bc Replace disrespectful term 4 vuotta sitten
package_with_underscore_test.rb a35cd4f89d build protoc artifacts with cmake 5 vuotta sitten
sig_handling_client.rb 27687563d6 Fix child process port selection in ruby end-to-end tests 4 vuotta sitten
sig_handling_test.rb 27687563d6 Fix child process port selection in ruby end-to-end tests 4 vuotta sitten
sig_int_during_channel_watch_client.rb 27687563d6 Fix child process port selection in ruby end-to-end tests 4 vuotta sitten
sig_int_during_channel_watch_test.rb 45e41137a8 Replaces disrespectful terms (#25501) 4 vuotta sitten
status_codes_load_before_grpc_lib_test.rb 9b4ef62cb9 Split up run_ruby_end2end_tests.sh into more granular test targets 5 vuotta sitten

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