// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
// PERFORMANCE OF THIS SOFTWARE.
+#include <config.h>
+
#include <datasrc/client_list.h>
#include <datasrc/client.h>
#include <datasrc/cache_config.h>
// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
// PERFORMANCE OF THIS SOFTWARE.
+#include <config.h>
+
#include <util/memory_segment_local.h>
#include <util/memory_segment_mapped.h>
EXPECT_TRUE(sgmt.allMemoryDeallocated());
}
+#ifdef USE_SHARED_MEMORY
// Keep allocating bigger and bigger chunks of data until the allocation
// fails with growing the segment.
void
// Check that the segment thing releases stuff even in case it throws
// SegmentGrown exception and the thing moves address
-#ifdef USE_SHARED_MEMORY
TEST(SegmentObjectHolderTest, grow) {
MemorySegmentMapped segment(mapped_file,
isc::util::MemorySegmentMapped::CREATE_ONLY);
// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
// PERFORMANCE OF THIS SOFTWARE.
+#include <config.h>
+
#include <datasrc/memory/zone_data_updater.h>
#include <datasrc/memory/rdataset.h>
#include <datasrc/memory/zone_data.h>