Skip to content

Update easymock, mockito and equalsverifier to latest#19145

Merged
capistrant merged 4 commits intoapache:masterfrom
capistrant:test-scope-dep-work
Mar 16, 2026
Merged

Update easymock, mockito and equalsverifier to latest#19145
capistrant merged 4 commits intoapache:masterfrom
capistrant:test-scope-dep-work

Conversation

@capistrant
Copy link
Contributor

@capistrant capistrant commented Mar 12, 2026

resulted in having to bump a few things for the new-ish dependency enforcer plugin. All changes are test scoped deps only.

  • mockito: 5.14.2 to 5.23
  • easymock: 5.2.0 to 5.6.0
  • equalsverifier: 3.15.8 to 4.4.1
  • bytebuddy: 1.18.3 to 1.18.5
  • objenesis: N/A to 3.5

The equalsverifier is more strict in 4.x about not checking mocks among some other things. I made some modifications to a few tests to comply

@github-actions github-actions bot added Area - Batch Ingestion Area - Ingestion Area - MSQ For multi stage queries - https://github.com/apache/druid/issues/12262 labels Mar 12, 2026
"optimizedFilterNoIncludeUnknown",
"elementMatchValue"
)
.set(nl.jqno.equalsverifier.Mode.skipMockito())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

import Mode?

)
.withPrefabValues(ColumnType.class, ColumnType.STRING, ColumnType.DOUBLE)
.usingGetClass()
.set(nl.jqno.equalsverifier.Mode.skipMockito())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

import Mode?

@capistrant capistrant merged commit 85b3597 into apache:master Mar 16, 2026
37 checks passed
@github-actions github-actions bot added this to the 37.0.0 milestone Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants