diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/parse_es_requests.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/parse_es_requests.rs b/tests/parse_es_requests.rs index c8081c7..e6f747f 100644 --- a/tests/parse_es_requests.rs +++ b/tests/parse_es_requests.rs @@ -54,7 +54,7 @@ fn parse_scroll_bodies() { fn filter_search_requests() { let file_paths = fs::read_dir("tests/files/search").unwrap(); let mut config = ProxyConfig::default(); - config.allow_all_indices = Some(true); + config.unsafe_all_indices = Some(true); let mut rt = tokio::runtime::Runtime::new().unwrap(); for path in file_paths { @@ -72,7 +72,7 @@ fn filter_search_requests() { fn filter_scroll_requests() { let file_paths = fs::read_dir("tests/files/scroll").unwrap(); let mut config = ProxyConfig::default(); - config.allow_all_indices = Some(true); + config.unsafe_all_indices = Some(true); let mut rt = tokio::runtime::Runtime::new().unwrap(); for path in file_paths { @@ -90,7 +90,7 @@ fn filter_scroll_requests() { fn filter_failures() { let file_paths = fs::read_dir("tests/files/search_fail").unwrap(); let mut config = ProxyConfig::default(); - config.allow_all_indices = Some(true); + config.unsafe_all_indices = Some(true); let mut rt = tokio::runtime::Runtime::new().unwrap(); for path in file_paths { |