Commit 1673f94
fix(e2e/ontology): add idempotency guard for E2E custom relation type
Mirrors the Cardinality class double-call pattern: a concurrent worker
issuing a stale PUT between addRelationTypesWithCardinality and the term
patches can silently drop CUSTOM_OWNS_RELATION from the global config.
The second (idempotent) call re-asserts the type before term patches run.
Also switches from addRelationTypeWithCardinality (singular) to the batch
variant addRelationTypesWithCardinality so the retry loop and verification
step are the same as Cardinality.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent bf881db commit 1673f94
1 file changed
Lines changed: 12 additions & 6 deletions
File tree
- openmetadata-ui/src/main/resources/ui/playwright/support/entity
Lines changed: 12 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| |||
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
53 | 59 | | |
54 | 60 | | |
55 | 61 | | |
| |||
0 commit comments