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

Method SetUp

be/src/runtime/bufferpool/suballocator-test.cc:48–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46class SuballocatorTest : public ::testing::Test {
47 public:
48 virtual void SetUp() override {
49 test_env_.reset(new TestEnv);
50 test_env_->DisableBufferPool();
51 ASSERT_OK(test_env_->Init());
52 RandTestUtil::SeedRng("SUBALLOCATOR_TEST_SEED", &rng_);
53 profile_ = RuntimeProfile::Create(&obj_pool_, "test profile");
54 }
55
56 virtual void TearDown() override {
57 for (unique_ptr<BufferPool::ClientHandle>& client : clients_) {

Callers

nothing calls this directly

Calls 4

CreateClass · 0.85
DisableBufferPoolMethod · 0.80
resetMethod · 0.65
InitMethod · 0.45

Tested by

no test coverage detected