summaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/attribute/tensorattribute
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-08-12 13:41:15 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2021-08-12 13:41:15 +0000
commit3efc9cfdde773167f3a8385dc7ccf9b7235d3acb (patch)
tree0a0cae7eb7c0053d83ed5c5bbc0edd0200a3d0ab /searchlib/src/tests/attribute/tensorattribute
parent76a6060a8d840f4babc6ad613b6dd9d13f6d9e8d (diff)
swappable -> paged
Diffstat (limited to 'searchlib/src/tests/attribute/tensorattribute')
-rw-r--r--searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp b/searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp
index 56233722f69..605fcb538d6 100644
--- a/searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp
+++ b/searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp
@@ -335,7 +335,7 @@ struct Fixture {
_denseTensors = true;
}
if (_traits.use_mmap_file_allocator) {
- _cfg.setSwappable(true);
+ _cfg.setPaged(true);
}
if (_traits.use_mock_index) {
_index_factory = std::make_unique<MockNearestNeighborIndexFactory>();
@@ -1010,7 +1010,7 @@ TEST_F("NN blueprint handles strong filter triggering brute force search", Neare
EXPECT_FALSE(bp->may_approximate());
}
-TEST("Dense tensor attribute with swappable flag uses mmap file allocator")
+TEST("Dense tensor attribute with paged flag uses mmap file allocator")
{
vespalib::string basedir("mmap-file-allocator-factory-dir");
vespalib::alloc::MmapFileAllocatorFactory::instance().setup(basedir);