The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#) https://grpc.io/
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.
 
 
 
 
 
 
apolcyn 7c21997dba
[ruby] remove unnecessary background thread startup wait logic that interferes with forking (#33805)
2 years ago
..
lib Fix child process port selection in ruby end-to-end tests 4 years ago
protos Fix child process port selection in ruby end-to-end tests 4 years ago
README.md add copyright header to fix failing sanity tests 8 years ago
bad_usage_fork_test.rb [ruby] experimental client side fork support (#33430) 2 years ago
call_credentials_returning_bad_metadata_doesnt_kill_background_thread_test.rb [ruby] raise RPC deadline in a flakey test (#33713) 2 years ago
call_credentials_timeout_test.rb Don't perform unnecessary RPCs in call creds timeout test 4 years ago
channel_closing_client.rb Fix child process port selection in ruby end-to-end tests 4 years ago
channel_closing_test.rb Bump timeouts in ruby end2end tests (#31266) 3 years ago
channel_state_client.rb Fix child process port selection in ruby end-to-end tests 4 years ago
channel_state_test.rb Bump timeouts in ruby end2end tests (#31266) 3 years ago
client_memory_usage_client.rb Fix child process port selection in ruby end-to-end tests 4 years ago
client_memory_usage_test.rb Fix child process port selection in ruby end-to-end tests 4 years ago
echo_server.rb [ruby] experimental client side fork support (#33430) 2 years ago
end2end_common.rb [ruby] experimental client side fork support (#33430) 2 years ago
errors_load_before_grpc_lib_test.rb Split up run_ruby_end2end_tests.sh into more granular test targets 5 years ago
fork_test.rb [ruby] experimental client side fork support (#33430) 2 years ago
forking_client_client.rb Bump timeouts in ruby end2end tests (#31266) 3 years ago
forking_client_test.rb Bump timeouts in ruby end2end tests (#31266) 3 years ago
gen_protos.sh auto-fix most of licenses 8 years ago
graceful_sig_handling_client.rb Fix child process port selection in ruby end-to-end tests 4 years ago
graceful_sig_handling_test.rb Fix child process port selection in ruby end-to-end tests 4 years ago
graceful_sig_stop_client.rb Fix child process port selection in ruby end-to-end tests 4 years ago
graceful_sig_stop_test.rb Fix child process port selection in ruby end-to-end tests 4 years ago
grpc_class_init_client.rb [ruby testing]: experimental change to grpc_class_init_test (#32337) 2 years ago
grpc_class_init_test.rb [ruby testing]: experimental change to grpc_class_init_test (#32337) 2 years ago
killed_client_thread_client.rb Fix child process port selection in ruby end-to-end tests 4 years ago
killed_client_thread_test.rb Bump timeouts in ruby end2end tests (#31266) 3 years ago
load_grpc_with_gc_stress_test.rb Replace disrespectful term 4 years ago
logger_load_before_grpc_lib_test.rb Split up run_ruby_end2end_tests.sh into more granular test targets 5 years ago
multiple_killed_watching_threads_test.rb Replace disrespectful term 4 years ago
package_with_underscore_test.rb build protoc artifacts with cmake 4 years ago
prefork_postfork_loop_test.rb [ruby] remove unnecessary background thread startup wait logic that interferes with forking (#33805) 2 years ago
prefork_without_using_grpc_test.rb [ruby] fix crash when prefork/postfork is used without previously using grpc (#33788) 2 years ago
secure_fork_test.rb [ruby] experimental client side fork support (#33430) 2 years ago
sig_handling_client.rb Fix child process port selection in ruby end-to-end tests 4 years ago
sig_handling_test.rb Fix child process port selection in ruby end-to-end tests 4 years ago
sig_int_during_channel_watch_client.rb Fix child process port selection in ruby end-to-end tests 4 years ago
sig_int_during_channel_watch_test.rb Bump timeouts in ruby end2end tests (#31266) 3 years ago
simple_fork_test.rb [ruby] experimental client side fork support (#33430) 2 years ago
status_codes_load_before_grpc_lib_test.rb Split up run_ruby_end2end_tests.sh into more granular test targets 5 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).