diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2021-08-15 17:15:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-15 17:15:24 +0200 |
commit | e536003faa53fd4df212010357d2327946122c14 (patch) | |
tree | 1d86d8513b81b8406c13cb6bbce32183fc79b938 /vespalib/src/tests/datastore/array_store | |
parent | a97c478777f7c254d772df406b2afa0b6735261c (diff) | |
parent | 64070ae21de63b73f936dca24719c305e52265f6 (diff) |
Merge pull request #18742 from vespa-engine/revert-18735-toregge/consider-reusing-active-buffer
Revert "Consider reusing active buffer."
Diffstat (limited to 'vespalib/src/tests/datastore/array_store')
-rw-r--r-- | vespalib/src/tests/datastore/array_store/array_store_test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vespalib/src/tests/datastore/array_store/array_store_test.cpp b/vespalib/src/tests/datastore/array_store/array_store_test.cpp index 562ecaaecfa..417d8b80d87 100644 --- a/vespalib/src/tests/datastore/array_store/array_store_test.cpp +++ b/vespalib/src/tests/datastore/array_store/array_store_test.cpp @@ -150,13 +150,13 @@ TEST("require that we test with trivial and non-trivial types") TEST_F("control static sizes", NumberFixture(3)) { #ifdef _LIBCPP_VERSION - EXPECT_EQUAL(424u, sizeof(f.store)); + EXPECT_EQUAL(400u, sizeof(f.store)); EXPECT_EQUAL(296u, sizeof(NumberFixture::ArrayStoreType::DataStoreType)); #else - EXPECT_EQUAL(456u, sizeof(f.store)); + EXPECT_EQUAL(432u, sizeof(f.store)); EXPECT_EQUAL(328u, sizeof(NumberFixture::ArrayStoreType::DataStoreType)); #endif - EXPECT_EQUAL(96u, sizeof(NumberFixture::ArrayStoreType::SmallArrayType)); + EXPECT_EQUAL(72u, sizeof(NumberFixture::ArrayStoreType::SmallArrayType)); MemoryUsage usage = f.store.getMemoryUsage(); EXPECT_EQUAL(960u, usage.allocatedBytes()); EXPECT_EQUAL(32u, usage.usedBytes()); |