()
| 172 | |
| 173 | |
| 174 | def create_client_protocol_dimension(): |
| 175 | pytest_config = ImpalaTestClusterProperties.get_instance().pytest_config() |
| 176 | protocols_to_test = [HS2] |
| 177 | if ENABLE_BEESWAX and pytest_config.option.default_test_protocol == BEESWAX: |
| 178 | protocols_to_test.append(BEESWAX) |
| 179 | # IMPALA-8864: Older python versions do not support SSLContext object that the thrift |
| 180 | # http client implementation depends on. Otherwise, include HS2_HTTP. |
| 181 | import ssl |
| 182 | if hasattr(ssl, "create_default_context"): |
| 183 | protocols_to_test.append(HS2_HTTP) |
| 184 | return ImpalaTestDimension(PROTOCOL, *protocols_to_test) |
| 185 | |
| 186 | |
| 187 | def create_client_protocol_http_transport(): |
no test coverage detected