From f1de3aa75a7269472c5b1b5caa6fca478be54517 Mon Sep 17 00:00:00 2001 From: Kerollmops Date: Tue, 29 Nov 2022 15:26:24 +0100 Subject: [PATCH] Make the tests use MB to trigger page size issues --- index-scheduler/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index-scheduler/src/lib.rs b/index-scheduler/src/lib.rs index af4f637c7..b57adb077 100644 --- a/index-scheduler/src/lib.rs +++ b/index-scheduler/src/lib.rs @@ -1112,8 +1112,8 @@ mod tests { indexes_path: tempdir.path().join("indexes"), snapshots_path: tempdir.path().join("snapshots"), dumps_path: tempdir.path().join("dumps"), - task_db_size: 1024 * 1024, // 1 MiB - index_size: 1024 * 1024, // 1 MiB + task_db_size: 1000 * 1000, // 1 MB, we don't use MiB on purpose. + index_size: 1000 * 1000, // 1 MB, we don't use MiB on purpose. indexer_config: IndexerConfig::default(), autobatching_enabled, };