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

Replaced use of System.out.println() in unit tests #260

Merged
merged 1 commit into from
Mar 1, 2017

Conversation

merlimat
Copy link
Contributor

@merlimat merlimat commented Mar 1, 2017

Motivation

Use logger to print debug in unit tests so that it can be turned on/off.

@merlimat merlimat added this to the 1.17 milestone Mar 1, 2017
@merlimat merlimat self-assigned this Mar 1, 2017
@@ -26,7 +26,6 @@
@Test
public void shouldBackoffTest() {
long currentTimestamp = System.nanoTime();
System.out.println(currentTimestamp);
Copy link
Contributor

Choose a reason for hiding this comment

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

intentionally wanted to delete it ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, printing the timestamp is kind of irrelevant in that test

@merlimat merlimat merged commit 619ad64 into apache:master Mar 1, 2017
sijie pushed a commit to sijie/pulsar that referenced this pull request Mar 4, 2018
hrsakai pushed a commit to hrsakai/pulsar that referenced this pull request Dec 10, 2020
Co-authored-by: yexijun <yexijun@cmcm.com>
hangc0276 pushed a commit to hangc0276/pulsar that referenced this pull request May 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants