From ff1854a16cd77d65462568e342067283289e3604 Mon Sep 17 00:00:00 2001 From: giswqs Date: Wed, 11 Nov 2026 09:24:58 -0500 Subject: [PATCH] test(data): give the by-address GeoParquet test its own plain file flatgeobuf_and_geoparquet_by_address and geoparquet_with_and_without_a_covering both wrote plain.parquet in the shared per-process test folder. The tests run at once, so one could read the file while the other was rewriting it: "GeoParquet: EOF: Expected to read 44 bytes, read only 0" (PR #1787's Linux job, run 43035237119). The by-address test now writes r-plain.parquet, as it already does r.fgb and r.parquet. --- crates/data/src/source/tests.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/crates/data/src/source/tests.rs b/crates/data/src/source/tests.rs index 91c26d0781..cffa4a703d 100644 --- a/crates/data/src/source/tests.rs +++ b/crates/data/src/source/tests.rs @@ -1632,8 +1632,10 @@ fn flatgeobuf_and_geoparquet_by_address() { assert!(!s.complete && s.features.len() <= 500 && s.features.len() >= 250, "{name}: {}", s.features.len()); } - // Files without an index or a covering are read whole instead. - let p = d.join("plain.parquet"); + // Files without an index or a covering are read whole instead. Not plain.parquet: the + // tests run at once and share this folder, and geoparquet_with_and_without_a_covering + // writes and reads that one. + let p = d.join("r-plain.parquet"); write_parquet(&p, false); remote::testing::serve("https://test.example/plain.parquet", std::fs::read(&p).unwrap()); let e = open_url_blocking("https://test.example/plain.parquet").err().map(|e| e.to_string()).unwrap_or_default();