Skip to content

Commit

Permalink
Lower default buffer pool size for tests
Browse files Browse the repository at this point in the history
Should have been lowered before; with the higher limit most tests never do buffer manager evictions
  • Loading branch information
benjaminwinger committed Nov 20, 2024
1 parent f5ec8cf commit aaca54a
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions extension/json/test/doc_examples.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
-DATASET CSV empty
-BUFFER_POOL_SIZE 134217728

--

Expand Down
1 change: 1 addition & 0 deletions extension/json/test/error.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
-DATASET CSV empty
-BUFFER_POOL_SIZE 268435456

--

Expand Down
2 changes: 1 addition & 1 deletion src/include/common/constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ struct BufferPoolConstants {
#else
static constexpr uint64_t DEFAULT_VM_REGION_MAX_SIZE = static_cast<uint64_t>(1) << 43; // (8TB)
#endif
static constexpr uint64_t DEFAULT_BUFFER_POOL_SIZE_FOR_TESTING = 1ull << 28; // (256MB)
static constexpr uint64_t DEFAULT_BUFFER_POOL_SIZE_FOR_TESTING = 1ull << 26; // (64MB)
};

struct StorageConstants {
Expand Down
1 change: 1 addition & 0 deletions test/test_files/copy/copy_after_error.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
-DATASET CSV empty
-BUFFER_POOL_SIZE 268435456
--

-CASE CopyNodeAfterError
Expand Down
2 changes: 2 additions & 0 deletions test/test_files/dml_rel/create/create_ldbc_sf01.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
-DATASET CSV ldbc-sf01
-BUFFER_POOL_SIZE 134217728

--

-CASE CreateLikeComment
Expand Down
1 change: 1 addition & 0 deletions test/test_files/dml_rel/set/set_ldbc_sf01.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
-DATASET CSV ldbc-sf01
-BUFFER_POOL_SIZE 134217728
--

-CASE SetLikeComment
Expand Down
3 changes: 2 additions & 1 deletion test/test_files/issue/issue5.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
-DATASET CSV ldbc-sf01
-BUFFER_POOL_SIZE 134217728

--

Expand All @@ -18,4 +19,4 @@
---- ok
-STATEMENT MATCH (a:Person)-[r:knows_with_null]->(b:Person) WHERE r.__EXTRAID IS NOT NULL RETURN COUNT(*)
---- 1
0
0
1 change: 1 addition & 0 deletions test/test_files/tck/match/match7.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
-DATASET CSV tck
-BUFFER_POOL_SIZE 268435456

--

Expand Down

0 comments on commit aaca54a

Please sign in to comment.