Hannah Shi 0765a1c70a change test case to absolute package name пре 5 година
..
lib 4d5c3102a1 fix remaining license notices пре 8 година
protos 0b4fb6a5e2 Move a script which has a pre-requirement to outside of spec пре 7 година
README.md 071f74f6f1 add copyright header to fix failing sanity tests пре 8 година
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 година
call_credentials_timeout_test.rb 9b4ef62cb9 Split up run_ruby_end2end_tests.sh into more granular test targets пре 5 година
channel_closing_client.rb b14f1ea602 Disable soreuseport in ruby unit tests пре 8 година
channel_closing_test.rb 9b4ef62cb9 Split up run_ruby_end2end_tests.sh into more granular test targets пре 5 година
channel_state_client.rb 7897ae9308 auto-fix most of licenses пре 8 година
channel_state_test.rb 9b4ef62cb9 Split up run_ruby_end2end_tests.sh into more granular test targets пре 5 година
client_memory_usage_client.rb bae00e08cc Add test for verifying to get memory usage in client request пре 7 година
client_memory_usage_test.rb 9b4ef62cb9 Split up run_ruby_end2end_tests.sh into more granular test targets пре 5 година
end2end_common.rb 59da17dd7d Fix parent/child process synchronization in two ruby tests пре 5 година
errors_load_before_grpc_lib_test.rb 9b4ef62cb9 Split up run_ruby_end2end_tests.sh into more granular test targets пре 5 година
forking_client_client.rb 7897ae9308 auto-fix most of licenses пре 8 година
forking_client_test.rb 9b4ef62cb9 Split up run_ruby_end2end_tests.sh into more granular test targets пре 5 година
gen_protos.sh 7897ae9308 auto-fix most of licenses пре 8 година
graceful_sig_handling_client.rb 39ac83a49e ruby-sigint ready to be merged! пре 7 година
graceful_sig_handling_test.rb 9b4ef62cb9 Split up run_ruby_end2end_tests.sh into more granular test targets пре 5 година
graceful_sig_stop_client.rb 39ac83a49e ruby-sigint ready to be merged! пре 7 година
graceful_sig_stop_test.rb 9b4ef62cb9 Split up run_ruby_end2end_tests.sh into more granular test targets пре 5 година
grpc_class_init_client.rb 81e9581bf3 Remove some sleeps in ruby tests and fix test server shutdown пре 8 година
grpc_class_init_test.rb 9b4ef62cb9 Split up run_ruby_end2end_tests.sh into more granular test targets пре 5 година
killed_client_thread_client.rb 2f3e588099 Dont assume that sigint wasnt masked when invoking ruby tests пре 8 година
killed_client_thread_test.rb 9b4ef62cb9 Split up run_ruby_end2end_tests.sh into more granular test targets пре 5 година
load_grpc_with_gc_stress_test.rb 9b4ef62cb9 Split up run_ruby_end2end_tests.sh into more granular test targets пре 5 година
logger_load_before_grpc_lib_test.rb 9b4ef62cb9 Split up run_ruby_end2end_tests.sh into more granular test targets пре 5 година
multiple_killed_watching_threads_test.rb 9b4ef62cb9 Split up run_ruby_end2end_tests.sh into more granular test targets пре 5 година
package_with_underscore_test.rb 0765a1c70a change test case to absolute package name пре 5 година
sig_handling_client.rb b14f1ea602 Disable soreuseport in ruby unit tests пре 8 година
sig_handling_test.rb 9b4ef62cb9 Split up run_ruby_end2end_tests.sh into more granular test targets пре 5 година
sig_int_during_channel_watch_client.rb 59da17dd7d Fix parent/child process synchronization in two ruby tests пре 5 година
sig_int_during_channel_watch_test.rb 9b4ef62cb9 Split up run_ruby_end2end_tests.sh into more granular test targets пре 5 година
status_codes_load_before_grpc_lib_test.rb 9b4ef62cb9 Split up run_ruby_end2end_tests.sh into more granular test targets пре 5 година

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