Determine the build type based on the Impala cluster's web UI by using get_build_flags_from_web_ui.
(cls, impala_url)
| 208 | |
| 209 | @classmethod |
| 210 | def detect_using_web_ui(cls, impala_url): |
| 211 | """ |
| 212 | Determine the build type based on the Impala cluster's web UI by using |
| 213 | get_build_flags_from_web_ui. |
| 214 | """ |
| 215 | build_flags = ImpalaTestClusterFlagsDetector.get_build_flags_from_web_ui(impala_url) |
| 216 | build_type = build_flags['cmake_build_type'] |
| 217 | library_link_type = build_flags['library_link_type'] |
| 218 | ImpalaTestClusterFlagsDetector.validate_build_flags(build_type, library_link_type) |
| 219 | return build_type, library_link_type |
| 220 | |
| 221 | @classmethod |
| 222 | def validate_build_flags(cls, build_type, library_link_type): |
no test coverage detected