Skip to content

Commit

Permalink
🐛 [BUG] Fix flaky tests (refs #4070)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chatewgne committed Jan 21, 2025
1 parent e2359b7 commit 82d452a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geotrek/core/templates/core/sql/post_50_paths_split.sql
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ BEGIN
AND draft = FALSE
AND NEW.draft = FALSE
AND ST_DWithin(t.geom, NEW.geom, 0)
AND GeometryType(ST_Intersection(geom, NEW.geom)) NOT IN ('LINESTRING', 'MULTILINESTRING')
AND GeometryType(ST_Intersection(geom, NEW.geom)) NOT IN ('LINESTRING', 'MULTILINESTRING') ORDER BY id
LOOP

-- RAISE NOTICE '%-% (%) intersects %-% (%) : %', NEW.id, NEW.name, ST_AsText(NEW.geom), path.id, path.name, ST_AsText(path.geom), ST_AsText(ST_Intersection(path.geom, NEW.geom));
Expand Down

0 comments on commit 82d452a

Please sign in to comment.