Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FLINK-31934][rocksdb][tests] Remove mocking #22484

Merged
merged 1 commit into from
May 11, 2023
Merged

Conversation

zentol
Copy link
Contributor

@zentol zentol commented Apr 25, 2023

Remove mocking from the rocksdb tests, that would fail out-of-the-box on Java 17.

RocksDBInitTest was renamed to RocksDBInitITCase so it runs in a separate JVM, which ensures that rocksdb wasn't initialized beforehand by another test.

@flinkbot
Copy link
Collaborator

flinkbot commented Apr 25, 2023

CI report:

Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

Copy link
Contributor

@masteryhx masteryhx left a comment

Choose a reason for hiding this comment

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

Thanks for the pr!
IIUC, We also need to remove mocking of EmbeddedRocksDBStateBackendTest ?

@zentol
Copy link
Contributor Author

zentol commented Apr 25, 2023

IIRC those mocks didnt cause issues on Java 17 so to me they are out of scope of this ticket.

@zentol zentol merged commit 2d87362 into apache:master May 11, 2023
@zentol zentol deleted the 31934 branch May 22, 2023 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants