summaryrefslogtreecommitdiffstats
path: root/storageapi
diff options
context:
space:
mode:
Diffstat (limited to 'storageapi')
-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 6f629d3dd94..68eb4a90c9f 100644
--- a/storageapi/src/tests/mbusprot/storageprotocoltest.cpp
+++ b/storageapi/src/tests/mbusprot/storageprotocoltest.cpp
@@ -830,10 +830,10 @@ TEST_P(StorageProtocolTest, track_memory_footprint_for_some_messages) {
EXPECT_EQ(80u, sizeof(StorageCommand));
EXPECT_EQ(104u, sizeof(BucketCommand));
EXPECT_EQ(104u, sizeof(BucketInfoCommand));
- EXPECT_EQ(112u, sizeof(TestAndSetCommand));
- EXPECT_EQ(144u, sizeof(PutCommand));
- EXPECT_EQ(144u, sizeof(UpdateCommand));
- EXPECT_EQ(224u, sizeof(RemoveCommand));
+ EXPECT_EQ(104u + sizeof(std::string), sizeof(TestAndSetCommand));
+ EXPECT_EQ(136u + sizeof(std::string), sizeof(PutCommand));
+ EXPECT_EQ(136u + sizeof(std::string), sizeof(UpdateCommand));
+ EXPECT_EQ(216u + sizeof(std::string), sizeof(RemoveCommand));
EXPECT_EQ(288u, sizeof(GetCommand));
}