Skip to content

Replace the usage of PowerMock with Mockito in the Bookkeeper tests #4201

@lhotari

Description

@lhotari

PowerMock is no longer maintained. The last release way in January 2020.
It should be replaced with Mockito. A similar replacement was done in Pulsar in these PRs:

PowerMock / PowerMockito is holding back from upgrading to Mockito 4.11.0 . Mockito 4.11.x is the last version to support Java 8.
Getting rid of PowerMock will be needed for upgrading some other libraries for supporting newer JDK versions (Java 17 & Java 21).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions