Skip to content

Commit 027c98d

Browse files
authored
Fix memory budget tests on ASAN nightlies. (#4772)
Some objects are larger on the ASAN debug build and causes us to load less tiles in memory, failing some memory budget verifications. Making the budget slightly larger fixes the tests. --- TYPE: NO_HISTORY DESC: Fix memory budget tests on ASAN nightlies.
1 parent b43ac58 commit 027c98d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/src/unit-cppapi-consolidation-with-timestamps.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ TEST_CASE_METHOD(
763763

764764
// Will only allow to load two tiles out of 3.
765765
Config cfg;
766-
cfg.set("sm.mem.total_budget", "10200");
766+
cfg.set("sm.mem.total_budget", "11000");
767767
cfg.set("sm.mem.reader.sparse_global_order.ratio_coords", "0.4");
768768
ctx_ = Context(cfg);
769769

@@ -822,7 +822,7 @@ TEST_CASE_METHOD(
822822

823823
// Will only allow to load two tiles out of 3.
824824
Config cfg;
825-
cfg.set("sm.mem.total_budget", "10200");
825+
cfg.set("sm.mem.total_budget", "11000");
826826
cfg.set("sm.mem.reader.sparse_global_order.ratio_coords", "0.4");
827827
ctx_ = Context(cfg);
828828

test/src/unit-sparse-global-order-reader.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ TEST_CASE_METHOD(
777777

778778
// Two result tile (2 * (~1200 + 8) will be bigger than the per fragment
779779
// budget (1000).
780-
total_budget_ = "10500";
780+
total_budget_ = "12000";
781781
ratio_coords_ = "0.30";
782782
update_config();
783783

@@ -1348,7 +1348,7 @@ TEST_CASE_METHOD(
13481348

13491349
// Two result tile (2 * (~1200 + 8) will be bigger than the per fragment
13501350
// budget (1000).
1351-
total_budget_ = "10500";
1351+
total_budget_ = "12000";
13521352
ratio_coords_ = "0.30";
13531353
update_config();
13541354

0 commit comments

Comments
 (0)