From e77a94189ecbf13f041346e7d7b6d3ecf5876a6b Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 25 Aug 2020 20:10:46 -0700 Subject: rename 'allow_all...' to 'unsafe_all...' --- tests/parse_es_requests.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') 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 { -- cgit v1.2.3