summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-08-25 20:10:46 -0700
committerBryan Newbold <bnewbold@archive.org>2020-08-25 20:10:46 -0700
commite77a94189ecbf13f041346e7d7b6d3ecf5876a6b (patch)
tree1e4f13f88dc735d0cafeb9de0d3cddb63ae44d66 /tests
parentbdaf45ff85076cec93b68cd45c018bc02e2fa67e (diff)
downloades-public-proxy-e77a94189ecbf13f041346e7d7b6d3ecf5876a6b.tar.gz
es-public-proxy-e77a94189ecbf13f041346e7d7b6d3ecf5876a6b.zip
rename 'allow_all...' to 'unsafe_all...'
Diffstat (limited to 'tests')
-rw-r--r--tests/parse_es_requests.rs6
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 {