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

Java: fix logger test #2396

Merged
merged 2 commits into from
Oct 7, 2024
Merged

Conversation

Yury-Fridlyand
Copy link
Collaborator

Since #2391 log file isn't created if no writes requested. Test "LoggerTests > log to file" starts to fail on main branch.

@Yury-Fridlyand Yury-Fridlyand added java issues and fixes related to the java client logger testing Everything about testing labels Oct 7, 2024
@Yury-Fridlyand Yury-Fridlyand requested a review from a team as a code owner October 7, 2024 18:23
Comment on lines 73 to 74
String dummyFilename = "dummy.txt";
Logger.setLoggerConfig(Logger.Level.DEFAULT, dummyFilename);
Copy link
Collaborator

Choose a reason for hiding this comment

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

If we are removing all dummy log related tests, why not removing these 2 lines as well?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is still needed (line 72)

@Yury-Fridlyand Yury-Fridlyand merged commit 8cf1277 into valkey-io:main Oct 7, 2024
13 checks passed
@Yury-Fridlyand Yury-Fridlyand deleted the java/fix-logger-test branch October 7, 2024 21:13
prateek-kumar-improving pushed a commit that referenced this pull request Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
java issues and fixes related to the java client testing Everything about testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants