grpc/src/ruby/end2end
apolcyn 4777db3003
[ruby testing]: experimental change to grpc_class_init_test (#32337)
Let's see if this fixes the "Bus error" flakes that have been happening
in CI.

If it does, then we can narrow things down a bit. If flakes continue,
then we can revert this PR.
2023-02-14 14:49:11 -08:00
..
lib Fix child process port selection in ruby end-to-end tests 2021-02-12 13:45:42 -08:00
protos Fix child process port selection in ruby end-to-end tests 2021-02-12 13:45:42 -08:00
README.md add copyright header to fix failing sanity tests 2017-03-15 17:32:40 -07:00
call_credentials_returning_bad_metadata_doesnt_kill_background_thread_test.rb Split up run_ruby_end2end_tests.sh into more granular test targets 2020-07-27 15:07:23 -07:00
call_credentials_timeout_test.rb Don't perform unnecessary RPCs in call creds timeout test 2021-02-11 20:02:08 -08:00
channel_closing_client.rb Fix child process port selection in ruby end-to-end tests 2021-02-12 13:45:42 -08:00
channel_closing_test.rb Bump timeouts in ruby end2end tests (#31266) 2022-10-06 13:54:54 -07:00
channel_state_client.rb Fix child process port selection in ruby end-to-end tests 2021-02-12 13:45:42 -08:00
channel_state_test.rb Bump timeouts in ruby end2end tests (#31266) 2022-10-06 13:54:54 -07:00
client_memory_usage_client.rb Fix child process port selection in ruby end-to-end tests 2021-02-12 13:45:42 -08:00
client_memory_usage_test.rb Fix child process port selection in ruby end-to-end tests 2021-02-12 13:45:42 -08:00
end2end_common.rb Bump timeouts in ruby end2end tests (#31266) 2022-10-06 13:54:54 -07:00
errors_load_before_grpc_lib_test.rb Split up run_ruby_end2end_tests.sh into more granular test targets 2020-07-27 15:07:23 -07:00
forking_client_client.rb Bump timeouts in ruby end2end tests (#31266) 2022-10-06 13:54:54 -07:00
forking_client_test.rb Bump timeouts in ruby end2end tests (#31266) 2022-10-06 13:54:54 -07:00
gen_protos.sh auto-fix most of licenses 2017-06-08 11:22:41 +02:00
graceful_sig_handling_client.rb Fix child process port selection in ruby end-to-end tests 2021-02-12 13:45:42 -08:00
graceful_sig_handling_test.rb Fix child process port selection in ruby end-to-end tests 2021-02-12 13:45:42 -08:00
graceful_sig_stop_client.rb Fix child process port selection in ruby end-to-end tests 2021-02-12 13:45:42 -08:00
graceful_sig_stop_test.rb Fix child process port selection in ruby end-to-end tests 2021-02-12 13:45:42 -08:00
grpc_class_init_client.rb [ruby testing]: experimental change to grpc_class_init_test (#32337) 2023-02-14 14:49:11 -08:00
grpc_class_init_test.rb [ruby testing]: experimental change to grpc_class_init_test (#32337) 2023-02-14 14:49:11 -08:00
killed_client_thread_client.rb Fix child process port selection in ruby end-to-end tests 2021-02-12 13:45:42 -08:00
killed_client_thread_test.rb Bump timeouts in ruby end2end tests (#31266) 2022-10-06 13:54:54 -07:00
load_grpc_with_gc_stress_test.rb Replace disrespectful term 2021-02-08 15:29:53 -08:00
logger_load_before_grpc_lib_test.rb Split up run_ruby_end2end_tests.sh into more granular test targets 2020-07-27 15:07:23 -07:00
multiple_killed_watching_threads_test.rb Replace disrespectful term 2021-02-08 15:29:53 -08:00
package_with_underscore_test.rb build protoc artifacts with cmake 2020-12-09 11:54:44 +01:00
sig_handling_client.rb Fix child process port selection in ruby end-to-end tests 2021-02-12 13:45:42 -08:00
sig_handling_test.rb Fix child process port selection in ruby end-to-end tests 2021-02-12 13:45:42 -08:00
sig_int_during_channel_watch_client.rb Fix child process port selection in ruby end-to-end tests 2021-02-12 13:45:42 -08:00
sig_int_during_channel_watch_test.rb Bump timeouts in ruby end2end tests (#31266) 2022-10-06 13:54:54 -07:00
status_codes_load_before_grpc_lib_test.rb Split up run_ruby_end2end_tests.sh into more granular test targets 2020-07-27 15:07:23 -07:00

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