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

Method __cleanup

tests/metadata/test_hdfs_encryption.py:97–102  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

95 assert rc == 0, 'Error creating encryption zone: %s %s' % (stdout, stderr)
96
97 def __cleanup(self):
98 self.client.execute('use default')
99 self.client.execute('drop table if exists %s.tbl purge' % TEST_DB)
100 self.client.execute('drop table if exists %s.t1 purge' % TEST_DB)
101 self.cleanup_db(TEST_DB)
102 self.hdfs_client.delete_file_dir(TMP_DIR, recursive=True)
103
104 def test_load_data(self, vector):
105 key_tbl_dir = vector.get_value('key_tbl_dir')

Callers 2

setup_methodMethod · 0.95
teardown_methodMethod · 0.95

Calls 3

cleanup_dbMethod · 0.80
executeMethod · 0.45
delete_file_dirMethod · 0.45

Tested by

no test coverage detected