Skip to content

Commit

Permalink
Removed obsolete integration test - replaced before with a unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Razz4780 committed Jan 16, 2025
1 parent 295099f commit 7508902
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 228 deletions.
33 changes: 0 additions & 33 deletions mirrord/layer/tests/apps/app_chunked.py

This file was deleted.

13 changes: 2 additions & 11 deletions mirrord/layer/tests/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -786,9 +786,6 @@ pub enum Application {
DynamicApp(String, Vec<String>),
/// Go app that only checks whether Linux pidfd syscalls are supported.
Go23Issue2988,
/// Python HTTP server that returns large (200kb) chunked responses
/// and processes one request at a time.
PythonHTTPChunked,
}

impl Application {
Expand Down Expand Up @@ -817,8 +814,7 @@ impl Application {
Application::PythonFlaskHTTP
| Application::PythonSelfConnect
| Application::PythonDontLoad
| Application::PythonListen
| Application::PythonHTTPChunked => Self::get_python3_executable().await,
| Application::PythonListen => Self::get_python3_executable().await,
Application::PythonFastApiHTTP | Application::PythonIssue864 => String::from("uvicorn"),
Application::Fork => String::from("tests/apps/fork/out.c_test_app"),
Application::ReadLink => String::from("tests/apps/readlink/out.c_test_app"),
Expand Down Expand Up @@ -1109,10 +1105,6 @@ impl Application {
]
}
Application::DynamicApp(_, args) => args.to_owned(),
Application::PythonHTTPChunked => {
app_path.push("app_chunked.py");
vec![String::from("-u"), app_path.to_string_lossy().to_string()]
}
}
}

Expand All @@ -1126,8 +1118,7 @@ impl Application {
| Application::Go23FileOps
| Application::NodeHTTP
| Application::RustIssue1054
| Application::PythonFlaskHTTP
| Application::PythonHTTPChunked => 80,
| Application::PythonFlaskHTTP => 80,
// mapped from 9999 in `configs/port_mapping.json`
Application::PythonFastApiHTTP | Application::PythonIssue864 => 1234,
Application::RustIssue1123 => 41222,
Expand Down
184 changes: 0 additions & 184 deletions mirrord/layer/tests/issue3013.rs

This file was deleted.

0 comments on commit 7508902

Please sign in to comment.