aboutsummaryrefslogtreecommitdiffstats
path: root/tests/parse_es_requests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/parse_es_requests.rs')
-rw-r--r--tests/parse_es_requests.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/parse_es_requests.rs b/tests/parse_es_requests.rs
index e00b12f..53a9889 100644
--- a/tests/parse_es_requests.rs
+++ b/tests/parse_es_requests.rs
@@ -55,7 +55,7 @@ fn filter_search_requests() {
let file_paths = fs::read_dir("tests/files/search").unwrap();
let mut config = ProxyConfig::default();
config.unsafe_all_indices = Some(true);
- let mut rt = tokio::runtime::Runtime::new().unwrap();
+ let rt = tokio::runtime::Runtime::new().unwrap();
for path in file_paths {
let path = path.unwrap().path();
@@ -73,7 +73,7 @@ fn filter_scroll_requests() {
let file_paths = fs::read_dir("tests/files/scroll").unwrap();
let mut config = ProxyConfig::default();
config.unsafe_all_indices = Some(true);
- let mut rt = tokio::runtime::Runtime::new().unwrap();
+ let rt = tokio::runtime::Runtime::new().unwrap();
for path in file_paths {
let path = path.unwrap().path();
@@ -91,7 +91,7 @@ fn filter_other_requests() {
let file_paths = fs::read_dir("tests/files/other").unwrap();
let mut config = ProxyConfig::default();
config.unsafe_all_indices = Some(true);
- let mut rt = tokio::runtime::Runtime::new().unwrap();
+ let rt = tokio::runtime::Runtime::new().unwrap();
for path in file_paths {
let path = path.unwrap().path();
@@ -109,7 +109,7 @@ fn filter_failures() {
let file_paths = fs::read_dir("tests/files/search_fail").unwrap();
let mut config = ProxyConfig::default();
config.unsafe_all_indices = Some(true);
- let mut rt = tokio::runtime::Runtime::new().unwrap();
+ let rt = tokio::runtime::Runtime::new().unwrap();
for path in file_paths {
let path = path.unwrap().path();