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

Method SetUp

be/src/runtime/bufferpool/buffer-pool-test.cc:79–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77class BufferPoolTest : public ::testing::Test {
78 public:
79 virtual void SetUp() {
80 test_env_.reset(new TestEnv);
81 FLAGS_remote_tmp_file_size = "512KB";
82
83 // Don't create global buffer pool in 'test_env_' - we'll create a buffer pool in
84 // each test function.
85 test_env_->DisableBufferPool();
86 ASSERT_OK(test_env_->Init());
87 RandTestUtil::SeedRng("BUFFER_POOL_TEST_SEED", &rng_);
88 remote_url_ = test_env_->GetDefaultFsPath("/tmp");
89 }
90
91 virtual void TearDown() {
92 for (auto entry : query_reservations_) {

Callers

nothing calls this directly

Calls 4

DisableBufferPoolMethod · 0.80
GetDefaultFsPathMethod · 0.80
resetMethod · 0.65
InitMethod · 0.45

Tested by

no test coverage detected