Repository navigation
[fix][broker] Avoid Project access in broker test setup - #25529
Merged
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
nodece
force-pushed
the
fix-broker-test-config-cache
branch
from
April 15, 2026 14:11
051d992 to
e5988fe
Compare
lhotari
requested changes
Apr 16, 2026
lhotari
left a comment
Member
There was a problem hiding this comment.
Please check this before merging:
Gradle suite > Gradle test > org.apache.pulsar.functions.worker.PulsarFunctionMetadataStoreTest > setup FAILED
java.lang.AssertionError: /home/runner/work/pulsar/pulsar/pulsar-io/data-generator/build/libs/pulsar-io-data-generator-4.3.0-SNAPSHOT.nar doesn't exist. expected [true] but found [false]
Member
Author
|
@lhotari Good catch, this issue has been fixed. |
lhotari
approved these changes
Apr 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Broker tests configured NAR and JAR paths through
rootProject.project(...)inside the test task action. That captures GradleProjectobjects in the task configuration and breaks configuration cache for:pulsar-broker:test.Changes
resolvedArtifacts