-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Labels
api: pubsubIssues related to the googleapis/java-pubsub API.Issues related to the googleapis/java-pubsub API.
Description
Seeing a
PublisherImplTest.testShutDown:1035 » IllegalArgument Could not create type
error that seems related to this dependency update as the referenced line is related to mocking the Publisher.
@michaelpri10 Easymock 5.6.0 actually has the fix for this very error (updating byte-buddy) - see easymock/easymock#673
However this transitive byte-buddy version was not picked up because mockito
is declared before easymock
in google-cloud-pubsub/pom.xml
.
Flipping the order of these two dependencies did the trick.
Edit: this solution is not ideal. Let's look into upgrading mockito as well, in case it brings a later version of byte-buddy.
Originally posted by @diegomarquezp in #2069 (comment)
Metadata
Metadata
Assignees
Labels
api: pubsubIssues related to the googleapis/java-pubsub API.Issues related to the googleapis/java-pubsub API.