diff options
author | Arne Juul <arnej@verizonmedia.com> | 2020-09-16 08:14:45 +0000 |
---|---|---|
committer | Arne Juul <arnej@verizonmedia.com> | 2020-09-16 10:33:15 +0000 |
commit | 129d6279293708d9dd31328717caf6cbdaa7e485 (patch) | |
tree | a496d42bbb17efb788ba326e780b6060541b0c3f /vespalib/src/tests/stash | |
parent | a6b848e49d1aef3758b923f858186ba254ba4ec7 (diff) |
shrink stash for very small sparse tensors
Diffstat (limited to 'vespalib/src/tests/stash')
-rw-r--r-- | vespalib/src/tests/stash/stash.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vespalib/src/tests/stash/stash.cpp b/vespalib/src/tests/stash/stash.cpp index ebf38a1343a..7ad62b32bda 100644 --- a/vespalib/src/tests/stash/stash.cpp +++ b/vespalib/src/tests/stash/stash.cpp @@ -253,9 +253,9 @@ TEST("require that the chunk size can be adjusted") { EXPECT_EQUAL(64000u, stash.get_chunk_size()); } -TEST("require that minimal chunk size is 4096") { - Stash stash(128); - EXPECT_EQUAL(4096u, stash.get_chunk_size()); +TEST("require that minimal chunk size is 96") { + Stash stash(50); + EXPECT_EQUAL(96u, stash.get_chunk_size()); } TEST("require that a stash can be moved by construction") { |