Skip to content

Commit

Permalink
Possible mitigation for Python smoke flakes
Browse files Browse the repository at this point in the history
Signed-off-by: itowlson <[email protected]>
  • Loading branch information
itowlson committed Apr 18, 2024
1 parent 63972c2 commit dc3f6cd
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -485,13 +485,20 @@ Caused by:

#[test]
#[cfg(feature = "extern-dependencies-tests")]
#[ignore = "https://github.com/fermyon/spin/issues/2457"]
// TODO: Check why python is not picking up the spin_sdk from site_packages
// Currently installing to the local directory to get around it.
fn http_python_template_smoke_test() -> anyhow::Result<()> {
let prebuild = |env: &mut testing_framework::TestEnvironment<_>| {
let mut tidy = std::process::Command::new("pip3");
tidy.args(["install", "-r", "requirements.txt", "-t", "."]);
tidy.args([
"install",
"-r",
"requirements.txt",
"-t",
".",
"--timeout",
"60",
]);
env.run_in(&mut tidy)?;
Ok(())
};
Expand Down

0 comments on commit dc3f6cd

Please sign in to comment.