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.

1 line
195 B

[Python run_test] Fix run_test (#34292) We're not running any test at all from `run_test.py` because of the way we filter test cases: https://github.com/grpc/grpc/blob/1d136fd05fbd826024251b83bf8ba65c94963b1e/src/python/grpcio_tests/tests/_runner.py#L137 * `testcase_filter` is read from a json file (like [this one](https://github.com/grpc/grpc/blob/master/src/python/grpcio_tests/tests/tests.json)) and test name is similar to `unit._metadata_test.MetadataTest`. * `case.id()` is loaded by `iterate_suite_cases` and will always have a prefix of `tests`, an example of case id will be: `tests.unit._metadata_test.MetadataTest`. Because of the prefix, none of the test case will be matched thus we're not running any of the tests. This PR fixes the prefix issue and all the regressions comes from not running tests using `run_test.py`. #### Other Changes * Added couple of `__init__.py` file since it's required to load tests. * Added `py_status_code` to Aio rpc state. * `code()` is expecting to return a python gRPC code but current `status_code` is a Cython code. * Added `libsqlite3-dev` to our dockers because it's required for `coverage==7.2.0`. * Renamed csds and admin test because test case file have to end with `_test`: https://github.com/grpc/grpc/blob/1d136fd05fbd826024251b83bf8ba65c94963b1e/src/python/grpcio_tests/tests/_loader.py#L26 * Removed gevent test from `run_test.py` because Bazel gevent tests should be good enough for us. <!-- If you know who should review your pull request, please assign it to that person, otherwise the pull request would get assigned randomly. If your pull request is for a specific language, please add the appropriate lang label. -->
1 year ago
us-docker.pkg.dev/grpc-testing/testing-images-public/python_debian11_default_arm64:55eb2e98cc7ff914777976a5482fee5fa62e9cbe@sha256:fccca33a655c7aa89dd7ebd9492cbcc1f636bd2a004cd939d1982cfce3d68326