Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

end-to-end tests leave ports open if tests fail #387

Open
kh-aeros opened this issue Oct 25, 2024 · 0 comments
Open

end-to-end tests leave ports open if tests fail #387

kh-aeros opened this issue Oct 25, 2024 · 0 comments

Comments

@kh-aeros
Copy link

When I run cargo leptos end-to-end, if a test fails, when I attempt to run again, it fails to serve the application.

Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s
       Cargo finished cargo build --package=my-app --bin=my-app --no-default-features --features=ssr
     Serving at http://0.0.0.0:8000
thread 'main' panicked at code/rust/ui/my-app/src/main.rs:26:63:
called `Result::unwrap()` on an `Err` value: Os { code: 98, kind: AddrInUse, message: "Address already in use" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant