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

Parse time durations containing commas #39

Merged
merged 2 commits into from
Dec 21, 2020

Conversation

vistaarjuneja
Copy link
Contributor

Issue: #38
For tests longer than 17 minutes, the duration field goes into 4 digits. The maven surefire plugin outputs this in a comma separated format, e.g, 1,234.56. We should remove commas before trying to parse the duration field. Ref: junit-team/junit5#1381

Copy link
Owner

@joshdk joshdk left a comment

Choose a reason for hiding this comment

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

Thank you so much for your contribution @vistaarjuneja! So sorry it took so long to review.

I think this is a great change, and a good find too! I only had one small suggestion to make handling values with commas more uniform. Please take a look, and I'll be happy to merge after that.

Cheers!

ingest.go Outdated Show resolved Hide resolved
@joshdk
Copy link
Owner

joshdk commented Dec 21, 2020

Hi @vistaarjuneja, wanted to reach out again! Did you have any thoughts on the above feedback? If things were addressed I would be happy to merge. 😄

Thanks again, cheers!

@vistaarjuneja
Copy link
Contributor Author

Totally missed the previous message. Thanks for reviewing! Let me know if it looks better now

Copy link
Owner

@joshdk joshdk left a comment

Choose a reason for hiding this comment

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

Thank you so much for your contribution @vistaarjuneja! 🎉

@joshdk joshdk merged commit 061ee62 into joshdk:master Dec 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants