citusdata / citusdata/citus

Regression tests: nondeterministic ordering of relation names in DETAIL output causes spurious diffs

Open
#8,439 2 comments 1 reaction 2 assignees Claimed by @ihalatci View on GitHub
regression tests
Dominant language
C
Stars
12.8k
Forks
794
Avg merge
2d 14h
Merged PRs (30d)
31

Description

We have intermittent diffs caused only by the ordering of object names inside an error DETAIL line.
The underlying behavior/error is identical; only the printed order changes, which makes tests flaky across runs/platforms.

Example diff:
```
-DETAIL: events_test_table_2 and users_test_table are not colocated
+DETAIL: users_test_table and events_test_table_2 are not colocated
```

See examples from https://github.com/citusdata/citus/actions/runs/20709974469/job/59448186897?pr=8431

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.