grpc/src/ruby/end2end
Hannah Shi 0fc521067b
Ruby: support for PSM security (#25330)
* support for PSM security, SSL fallback

* Ruby Server, support for PSM security, SSL fallback

* address review comments

* add more tests, address review comments

* add XdsChannelCredentials class for PSM security, ruby client

* XdsServerCredentials

* address review comments

* re-run tools/distrib/clang_format_code.sh

* address comments, add entries to grpc_class_init_test

* fix to pass end2end ci test

* re-run tools/distrib/clang_format_code.sh

* address comments
2021-03-04 13:32:30 -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 Replaces disrespectful terms (#25501) 2021-02-19 01:27:17 -08: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 Replaces disrespectful terms (#25501) 2021-02-19 01:27:17 -08: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 Fix child process port selection in ruby end-to-end tests 2021-02-12 13:45:42 -08: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 Replaces disrespectful terms (#25501) 2021-02-19 01:27:17 -08:00
forking_client_test.rb Replaces disrespectful terms (#25501) 2021-02-19 01:27:17 -08: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: support for PSM security (#25330) 2021-03-04 13:32:30 -08:00
grpc_class_init_test.rb Ruby: support for PSM security (#25330) 2021-03-04 13:32:30 -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 Replaces disrespectful terms (#25501) 2021-02-19 01:27:17 -08: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 Replaces disrespectful terms (#25501) 2021-02-19 01:27:17 -08: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).