Make the tests use MB to trigger page size issues

This commit is contained in:
Kerollmops 2022-11-29 15:26:24 +01:00 committed by curquiza
parent e4e4370a3c
commit f1de3aa75a

View File

@ -1112,8 +1112,8 @@ mod tests {
indexes_path: tempdir.path().join("indexes"), indexes_path: tempdir.path().join("indexes"),
snapshots_path: tempdir.path().join("snapshots"), snapshots_path: tempdir.path().join("snapshots"),
dumps_path: tempdir.path().join("dumps"), dumps_path: tempdir.path().join("dumps"),
task_db_size: 1024 * 1024, // 1 MiB task_db_size: 1000 * 1000, // 1 MB, we don't use MiB on purpose.
index_size: 1024 * 1024, // 1 MiB index_size: 1000 * 1000, // 1 MB, we don't use MiB on purpose.
indexer_config: IndexerConfig::default(), indexer_config: IndexerConfig::default(),
autobatching_enabled, autobatching_enabled,
}; };