Commit dffae39
Fix flaky test_contentnode_tree on PostgreSQL
Match API response nodes to expected nodes by id instead of relying on
positional ordering, since fixture data has duplicate lft values for
sibling nodes causing nondeterministic ORDER BY results on PostgreSQL.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 370d0bd commit dffae39
1 file changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
491 | 491 | | |
492 | 492 | | |
493 | 493 | | |
494 | | - | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
495 | 497 | | |
496 | 498 | | |
497 | 499 | | |
498 | | - | |
499 | | - | |
500 | | - | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
501 | 505 | | |
502 | 506 | | |
503 | 507 | | |
| |||
0 commit comments