Repository navigation
[2.1] Backport SearchDocs.awaitDocAsserted to fix integration-tests compile - #39703
Conversation
…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]>
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
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 |
Code Review ✅ Approved 🟢 Low riskThe integration-test helper adds bounded polling for a search document, changing test synchronization only and leaving production behavior unchanged. Backports the VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
Describe your changes:
2.1currently fails to build:openmetadata-integration-testsdoes not test-compile.#39624 (backport of #38950) brought over
StoredParentReferenceIT, which usesSearchDocs.awaitDocAsserted. That helper was added onmainby #36256 and never backported. Thecannot find symbol: variable logerrors in the same output are a side effect: Lombok's@Slf4jfields 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/actionsrun 47122293722).Verification
mvn -DskipTests -DonlyBackend -pl openmetadata-integration-tests -am packageon2.1+ this change: BUILD SUCCESS.🤖 Generated with Claude Code