@pytest.mark.execute_serially
@CustomClusterTestSuite.with_args(impalad_args='--enable_extended_memory_metrics=true')
def test_varz_hidden_variables(self):
    'Tests that modified hidden variables show up in /varz'
    response = requests.get('http://localhost:25000/varz?json')
    assert (response.status_code == requests.codes.ok)
    varz_json = json.loads(response.text)
    flag = [e for e in varz_json['flags'] if (e['name'] == 'enable_extended_memory_metrics')]
    assert (len(flag) == 1)
    assert (flag[0]['default'] == 'false')
    assert (flag[0]['current'] == 'true')
    assert flag[0]['experimental']
Tests that modified hidden variables show up in /varz
@pytest.mark.execute_serially
@CustomClusterTestSuite.with_args(impalad_args='--enable_extended_memory_metrics=true')
def test_varz_hidden_variables(self):
    
    response = requests.get('http://localhost:25000/varz?json')
    assert (response.status_code == requests.codes.ok)
    varz_json = json.loads(response.text)
    flag = [e for e in varz_json['flags'] if (e['name'] == 'enable_extended_memory_metrics')]
    assert (len(flag) == 1)
    assert (flag[0]['default'] == 'false')
    assert (flag[0]['current'] == 'true')
    assert flag[0]['experimental']