diff options
author | Geir Storli <geirst@verizonmedia.com> | 2021-08-18 15:00:49 +0000 |
---|---|---|
committer | Geir Storli <geirst@verizonmedia.com> | 2021-08-20 11:03:58 +0000 |
commit | eadf49cb8c1feff72098a5f2b6a44bfe82702812 (patch) | |
tree | c1e6575814cd9a3a87cae988f6c8453eea45a977 /searchcore/src/tests/proton/attribute/attribute_usage_stats/attribute_usage_stats_test.cpp | |
parent | 30e1e7d2cf1c6af481aee791c32580c6cf662aa0 (diff) |
Use max address space used in attribute vector components to determine whether to block put and update operations in proton.
Diffstat (limited to 'searchcore/src/tests/proton/attribute/attribute_usage_stats/attribute_usage_stats_test.cpp')
-rw-r--r-- | searchcore/src/tests/proton/attribute/attribute_usage_stats/attribute_usage_stats_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/tests/proton/attribute/attribute_usage_stats/attribute_usage_stats_test.cpp b/searchcore/src/tests/proton/attribute/attribute_usage_stats/attribute_usage_stats_test.cpp index 025ae859993..b85d3b43f5b 100644 --- a/searchcore/src/tests/proton/attribute/attribute_usage_stats/attribute_usage_stats_test.cpp +++ b/searchcore/src/tests/proton/attribute/attribute_usage_stats/attribute_usage_stats_test.cpp @@ -12,7 +12,7 @@ expect_max_usage(size_t used, const vespalib::string& attr_name, const vespalib::string& comp_name, const vespalib::string& sub_name, const AttributeUsageStats& stats) { - const auto& max = stats.max_usage(); + const auto& max = stats.max_address_space_usage(); EXPECT_EQ(used, max.getUsage().used()); EXPECT_EQ(attr_name, max.getAttributeName()); EXPECT_EQ(comp_name, max.get_component_name()); |