MCPcopy Create free account
hub / github.com/apache/impala / cleanup

Function cleanup

tests/conftest.py:398–404  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

396 assert result.success
397
398 def cleanup():
399 with request.instance.create_impala_client(protocol=HS2) as client:
400 client.set_configuration({'sync_ddl': sync_ddl})
401 for db_name in db_names:
402 cleanup_database(client, db_name, True)
403 LOG.info('Dropped database "{0}" for test ID "{1}"'.format(
404 db_name, str(request.node.nodeid)))
405
406 request.addfinalizer(cleanup)
407

Callers

nothing calls this directly

Calls 4

cleanup_databaseFunction · 0.85
create_impala_clientMethod · 0.80
set_configurationMethod · 0.80
formatMethod · 0.45

Tested by

no test coverage detected