Skip to content

Commit

Permalink
Reduced total available memory to make sure that MemorySort is doing …
Browse files Browse the repository at this point in the history
…a fallback to cache (#599)
  • Loading branch information
norberttech authored Oct 16, 2023
1 parent 013fa51 commit d0b5649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/etl/tests/Flow/ETL/Tests/Integration/FlowTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function test_etl_sort_at_disk_in_memory() : void
Config::builder()
->id($id = 'test_etl_sort_by_in_memory')
->cache($cacheSpy = new CacheSpy(Config::default()->cache()))
->externalSort(new MemorySort($id, $cacheSpy, Unit::fromMb(10)))
->externalSort(new MemorySort($id, $cacheSpy, Unit::fromKb(10)))
)->extract(new AllRowTypesFakeExtractor($rowsets = 50, $rows = 50))
->sortBy(ref('id'))
->run();
Expand Down

0 comments on commit d0b5649

Please sign in to comment.