@pytest.mark.execute_serially
@CustomClusterTestSuite.with_args(impalad_args='--query_stmt_size=10')
def test_query_stmt_with_custom_length(self):
    'Check if the partial query with the correct length is displayed in the query list\n    on the WebUI.'
    query = 'select "{0}"'.format(('x ' * 450))
    expected = 'select \\"x ...'
    self.execute_query(query)
    response = requests.get('http://localhost:25000/queries?json')
    response_json = response.text
    assert (expected in response_json), 'No matching statement found in the queries site.'
Check if the partial query with the correct length is displayed in the query list
on the WebUI.
@pytest.mark.execute_serially
@CustomClusterTestSuite.with_args(impalad_args='--query_stmt_size=10')
def test_query_stmt_with_custom_length(self):
    'Check if the partial query with the correct length is displayed in the query list\n    on the WebUI.'
    query = 'select "{0}"'.format(('x ' * 450))
    expected = 'select \\"x ...'
    self.execute_query(query)
    response = requests.get('http://localhost:25000/queries?json')
    response_json = response.text
    assert (expected in response_json), 'No matching statement found in the queries site.'