From 4282f6b01c1855d4c7cdafddd30f25127085a891 Mon Sep 17 00:00:00 2001 From: Rajat Jindal Date: Mon, 24 Apr 2023 13:31:04 +0530 Subject: [PATCH] add .DS_Store to .gitignore Signed-off-by: Rajat Jindal reduce logging in tests Signed-off-by: Rajat Jindal --- .gitignore | 1 + crates/e2e-testing/src/metadata_extractor.rs | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 13abeb4e..c434d83a 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ tests/testcases/*-generated spin-plugin-update.lock package-lock.json .spin +.DS_Store diff --git a/crates/e2e-testing/src/metadata_extractor.rs b/crates/e2e-testing/src/metadata_extractor.rs index d4a7be6e..e98d2e5f 100644 --- a/crates/e2e-testing/src/metadata_extractor.rs +++ b/crates/e2e-testing/src/metadata_extractor.rs @@ -45,11 +45,8 @@ pub fn extract_routes_from_logs(logs: &str) -> Vec { let re: Regex = Regex::new(r##"^\s*(.*): (https?://[^\s^\\(]+)(.*)$"##).unwrap(); let mut route_start = false; let lines = logs.split('\n'); - println!("{:?}", lines); let mut routes: Vec = vec![]; for line in lines { - println!("line is {:?}", line); - if line.trim() == "" { continue; } @@ -63,7 +60,6 @@ pub fn extract_routes_from_logs(logs: &str) -> Vec { continue; } - println!("line is before capturing {:?}", line); let captures = re.captures(line).unwrap(); let route = AppRoute {