Skip to content

[2.1] Backport SearchDocs.awaitDocAsserted to fix integration-tests compile - #39703

Merged
pmbrull merged 1 commit into
2.1from
fix/2.1-backport-awaitDocAsserted
Dec 3, 2026
Merged

pmbrull merged 1 commit into
2.1from
fix/2.1-backport-awaitDocAsserted

Conversation

@pmbrull

@pmbrull pmbrull commented Dec 3, 2026

Copy link
Copy Markdown
Member

Describe your changes:

2.1 currently fails to build: openmetadata-integration-tests does not test-compile.

StoredParentReferenceIT.java:[18,1] cannot find symbol
  symbol:   static awaitDocAsserted
  location: class org.openmetadata.it.util.SearchDocs

#39624 (backport of #38950) brought over StoredParentReferenceIT, which uses SearchDocs.awaitDocAsserted. That helper was added on main by #36256 and never backported. The cannot find symbol: variable log errors in the same output are a side effect: Lombok's @Slf4j fields aren't generated once javac fails to resolve an import.

This PR brings over only the helper, copied as-is from main. It breaks the Collate build (open-metadata/actions run 47122293722).

Verification

  • mvn -DskipTests -DonlyBackend -pl openmetadata-integration-tests -am package on 2.1 + this change: BUILD SUCCESS.

🤖 Generated with Claude Code

…ompile

#39624 backported StoredParentReferenceIT, which calls
SearchDocs.awaitDocAsserted. That helper came in on main with #36256 and
was never backported, so openmetadata-integration-tests fails to
test-compile on 2.1. Bring over just the helper.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

This PR cannot be merged until the following are addressed on its linked issue:

  • No GitHub issue is linked. Link an issue in the Development section of the PR (or add Fixes #12345 to the description). For a same-org cross-repo issue, add Fixes open-metadata/<repo>#123 to the description.

The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically.

Maintainers can bypass this check by adding the skip-pr-checks label.

@gitar-bot

gitar-bot Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved 🟢 Low risk

The integration-test helper adds bounded polling for a search document, changing test synchronization only and leaving production behavior unchanged.

Backports the SearchDocs.awaitDocAsserted helper from main to 2.1 so openmetadata-integration-tests compiles again, unblocking StoredParentReferenceIT. No issues found.

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@pmbrull
pmbrull merged commit 8d6ef5e into 2.1 Dec 3, 2026
41 of 43 checks passed
@pmbrull
pmbrull deleted the fix/2.1-backport-awaitDocAsserted branch December 3, 2026 14:32
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.

1 participant