mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-23 13:24:27 +01:00
fix test option test
This commit is contained in:
parent
445a6c9ea2
commit
4ecaf99047
@ -60,8 +60,8 @@ impl Data {
|
|||||||
let server_pid = std::process::id();
|
let server_pid = std::process::id();
|
||||||
|
|
||||||
let db_opt = DatabaseOptions {
|
let db_opt = DatabaseOptions {
|
||||||
main_map_size: opt.main_map_size,
|
main_map_size: opt.max_mdb_size,
|
||||||
update_map_size: opt.update_map_size,
|
update_map_size: opt.max_udb_size,
|
||||||
};
|
};
|
||||||
|
|
||||||
let http_payload_size_limit = opt.http_payload_size_limit;
|
let http_payload_size_limit = opt.http_payload_size_limit;
|
||||||
|
@ -44,8 +44,8 @@ impl Server {
|
|||||||
master_key: None,
|
master_key: None,
|
||||||
env: "development".to_owned(),
|
env: "development".to_owned(),
|
||||||
no_analytics: true,
|
no_analytics: true,
|
||||||
main_map_size: default_db_options.main_map_size,
|
max_mdb_size: default_db_options.main_map_size,
|
||||||
update_map_size: default_db_options.update_map_size,
|
max_udb_size: default_db_options.update_map_size,
|
||||||
http_payload_size_limit: 10000000,
|
http_payload_size_limit: 10000000,
|
||||||
..Opt::default()
|
..Opt::default()
|
||||||
};
|
};
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
use assert_json_diff::assert_json_eq;
|
use assert_json_diff::assert_json_eq;
|
||||||
use serde_json::json;
|
use serde_json::json;
|
||||||
use serde_json::Value;
|
|
||||||
|
|
||||||
mod common;
|
mod common;
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
use assert_json_diff::assert_json_eq;
|
|
||||||
use serde_json::json;
|
use serde_json::json;
|
||||||
use serde_json::Value;
|
use serde_json::Value;
|
||||||
use assert_json_diff::assert_json_include;
|
use assert_json_diff::assert_json_include;
|
||||||
|
Loading…
Reference in New Issue
Block a user