Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Drop the ENTE_E2E_ENDPOINT escape hatch from the rust e2e suite

Manav Rathi27f7e1b56fb7
diff --git a/rust/e2e/README.md b/rust/e2e/README.md
index f97b397b8f..6644324455 100644
--- a/rust/e2e/README.md
+++ b/rust/e2e/README.md
@@ -15,12 +15,6 @@ run it:
cargo test -p ente-e2e --features museum,pglite
```
-For ad hoc runs against an already-running server (skips the fixture):
-
-```sh
-ENTE_E2E_ENDPOINT=http://localhost:8080 cargo test -p ente-e2e --features museum,pglite -- --nocapture
-```
-
To skip or select stages:
```sh
diff --git a/rust/e2e/tests/full_e2e.rs b/rust/e2e/tests/full_e2e.rs
index 79acf6564f..c06bd43259 100644
--- a/rust/e2e/tests/full_e2e.rs
+++ b/rust/e2e/tests/full_e2e.rs
@@ -56,10 +56,7 @@ struct CreateLegacyKitRequest {
#[test]
fn full_e2e() -> TestResult {
- match std::env::var("ENTE_E2E_ENDPOINT") {
- Ok(endpoint) => run_stages(&endpoint),
- Err(_) => Fixture::run(|fixture| run_stages(fixture.endpoint())),
- }
+ Fixture::run(|fixture| run_stages(fixture.endpoint()))
}
fn run_stages(endpoint: &str) -> TestResult {