@pytest.mark.execute_serially
@CustomClusterTestSuite.with_args(impalad_args='--ping_expose_webserver_url=false')
def test_webserver_url_not_exposed(self, vector):
    if (vector.get_value('table_format').file_format != 'text'):
        pytest.skip('runs only for text table_format')
    shell_messages = ['Query submitted at: ', '(Coordinator: ', 'Query progress can be monitored at: ']
    query_shell_arg = '--query=select * from functional.alltypes'
    results = run_impala_shell_cmd(vector, [query_shell_arg])
    self._validate_shell_messages(results.stderr, shell_messages, should_exist=False)
    results = run_impala_shell_cmd(vector, ['--protocol=beeswax', query_shell_arg])
    self._validate_shell_messages(results.stderr, shell_messages, should_exist=False)
    page = requests.get('http://localhost:25000')
    assert (page.status_code == requests.codes.ok)
@pytest.mark.execute_serially
@CustomClusterTestSuite.with_args(impalad_args='--ping_expose_webserver_url=false')
def test_webserver_url_not_exposed(self, vector):
    if (vector.get_value('table_format').file_format != 'text'):
        pytest.skip('runs only for text table_format')
    shell_messages = ['Query submitted at: ', '(Coordinator: ', 'Query progress can be monitored at: ']
    query_shell_arg = '--query=select * from functional.alltypes'
    results = run_impala_shell_cmd(vector, [query_shell_arg])
    self._validate_shell_messages(results.stderr, shell_messages, should_exist=False)
    results = run_impala_shell_cmd(vector, ['--protocol=beeswax', query_shell_arg])
    self._validate_shell_messages(results.stderr, shell_messages, should_exist=False)
    page = requests.get('http://localhost:25000')
    assert (page.status_code == requests.codes.ok)