Mike Moore 0f8dced6c4 Define Struct::Status in Ruby 6 سال پیش
..
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 سال پیش
channel_closing_client.rb b14f1ea602 Disable soreuseport in ruby unit tests 7 سال پیش
channel_closing_driver.rb 81e9581bf3 Remove some sleeps in ruby tests and fix test server shutdown 7 سال پیش
channel_state_client.rb 7897ae9308 auto-fix most of licenses 8 سال پیش
channel_state_driver.rb 81e9581bf3 Remove some sleeps in ruby tests and fix test server shutdown 7 سال پیش
client_memory_usage_client.rb bae00e08cc Add test for verifying to get memory usage in client request 7 سال پیش
client_memory_usage_driver.rb bae00e08cc Add test for verifying to get memory usage in client request 7 سال پیش
end2end_common.rb b14f1ea602 Disable soreuseport in ruby unit tests 7 سال پیش
errors_load_before_grpc_lib.rb 0f8dced6c4 Define Struct::Status in Ruby 6 سال پیش
forking_client_client.rb 7897ae9308 auto-fix most of licenses 8 سال پیش
forking_client_driver.rb 81e9581bf3 Remove some sleeps in ruby tests and fix test server shutdown 7 سال پیش
gen_protos.sh 7897ae9308 auto-fix most of licenses 8 سال پیش
graceful_sig_handling_client.rb 39ac83a49e ruby-sigint ready to be merged! 6 سال پیش
graceful_sig_handling_driver.rb 39ac83a49e ruby-sigint ready to be merged! 6 سال پیش
graceful_sig_stop_client.rb 39ac83a49e ruby-sigint ready to be merged! 6 سال پیش
graceful_sig_stop_driver.rb 39ac83a49e ruby-sigint ready to be merged! 6 سال پیش
grpc_class_init_client.rb 81e9581bf3 Remove some sleeps in ruby tests and fix test server shutdown 7 سال پیش
grpc_class_init_driver.rb 7897ae9308 auto-fix most of licenses 8 سال پیش
killed_client_thread_client.rb 2f3e588099 Dont assume that sigint wasnt masked when invoking ruby tests 8 سال پیش
killed_client_thread_driver.rb 81e9581bf3 Remove some sleeps in ruby tests and fix test server shutdown 7 سال پیش
load_grpc_with_gc_stress_driver.rb 8c12d9eae6 Add a test under ruby GC stress mode and fix non-GC-rooted variable bug 8 سال پیش
logger_load_before_grpc_lib.rb b132c34c61 Allow loading grpc/errors before grpc 6 سال پیش
multiple_killed_watching_threads_driver.rb 19ac7c0baf Fix ruby test by backing off on the concurrency 7 سال پیش
package_with_underscore_checker.rb 0b4fb6a5e2 Move a script which has a pre-requirement to outside of spec 7 سال پیش
sig_handling_client.rb b14f1ea602 Disable soreuseport in ruby unit tests 7 سال پیش
sig_handling_driver.rb 81e9581bf3 Remove some sleeps in ruby tests and fix test server shutdown 7 سال پیش
sig_int_during_channel_watch_client.rb 7897ae9308 auto-fix most of licenses 8 سال پیش
sig_int_during_channel_watch_driver.rb 81e9581bf3 Remove some sleeps in ruby tests and fix test server shutdown 7 سال پیش
status_codes_load_before_grpc_lib.rb b132c34c61 Allow loading grpc/errors before grpc 6 سال پیش

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