Skip to content

OAK-12071: fix property removal for externally modifiable indexes#2700

Merged
fabriziofortino merged 6 commits intoapache:trunkfrom
fabriziofortino:OAK-12071
Jan 27, 2026
Merged

OAK-12071: fix property removal for externally modifiable indexes#2700
fabriziofortino merged 6 commits intoapache:trunkfrom
fabriziofortino:OAK-12071

Conversation

@fabriziofortino
Copy link
Contributor

No description provided.

nit0906
nit0906 previously approved these changes Jan 27, 2026
@nit0906 nit0906 self-requested a review January 27, 2026 03:19
@nit0906
Copy link
Contributor

nit0906 commented Jan 27, 2026

ElasticIndexQueryCommonTest>IndexQueryCommonTest.testMultiValuedPropUpdate
There's this test that fails on the PR. It has a remove property action - so could be possibly impacted by the change in the PR.

The failing test itself however could be improved a bit imo. The last assertion

assertEventually(() -> assertQuery("/jcr:root//*[jcr:contains(@" + mulValuedProp + ", 'foo')]", "xpath", new ArrayList<>()));

should rather be

assertEventually(() -> assertQuery("/jcr:root//*[jcr:contains(@" + mulValuedProp + ", 'bar')]", "xpath", new ArrayList<>()));

@nit0906 nit0906 dismissed their stale review January 27, 2026 03:24

Test failing in CI

@fabriziofortino
Copy link
Contributor Author

@nit0906 can you review again? There was an issue with the logic but the test was passing locally.

@fabriziofortino fabriziofortino merged commit 97adb46 into apache:trunk Jan 27, 2026
2 of 4 checks passed
@fabriziofortino fabriziofortino deleted the OAK-12071 branch January 27, 2026 19:07
reschke pushed a commit that referenced this pull request Feb 15, 2026
)

* OAK-12071: fix property removal for externally modifiable indexes

* OAK-12071: fix flaky test increasing eventual assertion time

* OAK-12071: test improvements

* OAK-12071: ensure index name uniqueness in tests

* OAK-12071: fix case where properties are not correctly removed

* OAK-12071: minor code improvement
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants