| 82 | public: |
| 83 | static const int DEFAULT_PRIORITY = numeric_limits<int>::max(); |
| 84 | virtual void SetUp() { |
| 85 | // Reset query options that are modified by tests. |
| 86 | FLAGS_disk_spill_encryption = false; |
| 87 | FLAGS_disk_spill_compression_codec = ""; |
| 88 | FLAGS_disk_spill_punch_holes = false; |
| 89 | #ifndef NDEBUG |
| 90 | FLAGS_stress_scratch_write_delay_ms = 0; |
| 91 | #endif |
| 92 | FLAGS_remote_tmp_file_size = "8MB"; |
| 93 | FLAGS_remote_read_memory_buffer_size = "1GB"; |
| 94 | FLAGS_remote_batch_read = false; |
| 95 | |
| 96 | metrics_.reset(new MetricGroup("tmp-file-mgr-test")); |
| 97 | profile_ = RuntimeProfile::Create(&obj_pool_, "tmp-file-mgr-test"); |
| 98 | test_env_.reset(new TestEnv); |
| 99 | ASSERT_OK(test_env_->Init()); |
| 100 | cb_counter_ = 0; |
| 101 | remote_url_ = test_env_->GetDefaultFsPath("/tmp"); |
| 102 | } |
| 103 | |
| 104 | virtual void TearDown() { |
| 105 | test_env_.reset(); |
nothing calls this directly
no test coverage detected