summaryrefslogtreecommitdiffstats
path: root/storageapi/src/tests/mbusprot/storageprotocoltest.cpp
diff options
context:
space:
mode:
authorTor Brede Vekterli <vekterli@yahooinc.com>2022-03-24 14:20:10 +0000
committerTor Brede Vekterli <vekterli@yahooinc.com>2022-03-24 14:20:10 +0000
commitf4981c28aacd0c964b2691af6337e302412366ac (patch)
treed4ced656aeafb4c6b42db24ce1d8e0f3a216e7e9 /storageapi/src/tests/mbusprot/storageprotocoltest.cpp
parent5560e8dee6b87f89a2324dd90b89c2c233ab32a2 (diff)
Update tests to take vespalib::string size into account
Diffstat (limited to 'storageapi/src/tests/mbusprot/storageprotocoltest.cpp')
-rw-r--r--storageapi/src/tests/mbusprot/storageprotocoltest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/storageapi/src/tests/mbusprot/storageprotocoltest.cpp b/storageapi/src/tests/mbusprot/storageprotocoltest.cpp
index 1775658c0e9..b927c045f51 100644
--- a/storageapi/src/tests/mbusprot/storageprotocoltest.cpp
+++ b/storageapi/src/tests/mbusprot/storageprotocoltest.cpp
@@ -845,10 +845,10 @@ TEST_P(StorageProtocolTest, track_memory_footprint_for_some_messages) {
EXPECT_EQ(88u, sizeof(StorageCommand));
EXPECT_EQ(112u, sizeof(BucketCommand));
EXPECT_EQ(112u, sizeof(BucketInfoCommand));
- EXPECT_EQ(112u + sizeof(std::string), sizeof(TestAndSetCommand));
- EXPECT_EQ(144u + sizeof(std::string), sizeof(PutCommand));
- EXPECT_EQ(144u + sizeof(std::string), sizeof(UpdateCommand));
- EXPECT_EQ(224u + sizeof(std::string), sizeof(RemoveCommand));
+ EXPECT_EQ(112u + sizeof(vespalib::string), sizeof(TestAndSetCommand));
+ EXPECT_EQ(144u + sizeof(vespalib::string), sizeof(PutCommand));
+ EXPECT_EQ(144u + sizeof(vespalib::string), sizeof(UpdateCommand));
+ EXPECT_EQ(224u + sizeof(vespalib::string), sizeof(RemoveCommand));
EXPECT_EQ(296u, sizeof(GetCommand));
}