fix regression test

This commit is contained in:
Max Känner 2025-01-26 19:29:24 +01:00
parent d715aa47b3
commit 302f5cac50

View File

@ -366,7 +366,7 @@ fn run_local_docker(port: u16) -> Result<Child, DynError> {
"--env", "--env",
"RUST_LOG=error", "RUST_LOG=error",
"--env", "--env",
format!("ROCKET_PORT={}", port).as_str(), format!("PORT={}", port).as_str(),
"--network=host", "--network=host",
"--rm", "--rm",
"local_snake", "local_snake",
@ -396,7 +396,7 @@ fn run_production(port: u16) -> Result<Child, DynError> {
"--env", "--env",
"RUST_LOG=error", "RUST_LOG=error",
"--env", "--env",
format!("ROCKET_PORT={}", port).as_str(), format!("PORT={}", port).as_str(),
"--network=host", "--network=host",
"--rm", "--rm",
"docker.mkaenner.de/snake:latest", "docker.mkaenner.de/snake:latest",