diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2020-11-23 17:50:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-23 17:50:41 +0100 |
commit | 66445f857b81b051c1572409ce19d032cb03024c (patch) | |
tree | c64f7eb471229e0843c623c37cbf8e3fc69e8849 /storageapi/src/tests/messageapi/storage_message_address_test.cpp | |
parent | bb001b8e430b0d85ec8a463d92940c843f0facea (diff) | |
parent | 7d53ab1b5a5e607b0e3023755b5ae4048cbb2c09 (diff) |
Merge pull request #15385 from vespa-engine/balder/reorder-for-smaller-footprint
Balder/reorder for smaller footprint
Diffstat (limited to 'storageapi/src/tests/messageapi/storage_message_address_test.cpp')
-rw-r--r-- | storageapi/src/tests/messageapi/storage_message_address_test.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/storageapi/src/tests/messageapi/storage_message_address_test.cpp b/storageapi/src/tests/messageapi/storage_message_address_test.cpp index c340cba4b28..9db282c98eb 100644 --- a/storageapi/src/tests/messageapi/storage_message_address_test.cpp +++ b/storageapi/src/tests/messageapi/storage_message_address_test.cpp @@ -31,6 +31,11 @@ TEST(StorageMessageAddressTest, storage_hash_covers_all_expected_fields) { hash_of("foo", lib::NodeType::DISTRIBUTOR, 0)); EXPECT_NE(hash_of("foo", lib::NodeType::STORAGE, 0), hash_of("foo", lib::NodeType::STORAGE, 1)); + + EXPECT_EQ(112u, sizeof(StorageMessageAddress)); + EXPECT_EQ(144u, sizeof(StorageMessage)); + EXPECT_EQ(80u, sizeof(documentapi::LoadType)); + EXPECT_EQ(16u, sizeof(mbus::Trace)); } } // storage::api |