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

Method TearDown

be/src/runtime/buffered-tuple-stream-test.cc:127–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125 }
126
127 virtual void TearDown() {
128 if (client_.is_registered()) {
129 test_env_->exec_env()->buffer_pool()->DeregisterClient(&client_);
130 }
131 runtime_state_ = nullptr;
132 pool_.Clear();
133 mem_pool_->FreeAll();
134 test_env_.reset();
135 }
136
137 /// Set up all of the test state: the buffer pool, a query state, a client with no
138 /// reservation and any other descriptors, etc.

Callers

nothing calls this directly

Calls 7

is_registeredMethod · 0.80
DeregisterClientMethod · 0.80
exec_envMethod · 0.80
resetMethod · 0.65
buffer_poolMethod · 0.45
ClearMethod · 0.45
FreeAllMethod · 0.45

Tested by

no test coverage detected