[
https://issues.apache.org/jira/browse/LUCENE-6564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14585234#comment-14585234
]
Robert Muir commented on LUCENE-6564:
-------------------------------------
What was the problem with 'new Date()'. To me that is the simplest. In general
this is just a diagnostics mechanism for IW. we shouldnt be writing tests where
you have to read massive amounts of logs.
> Normalize date format for IW in unit tests
> ------------------------------------------
>
> Key: LUCENE-6564
> URL: https://issues.apache.org/jira/browse/LUCENE-6564
> Project: Lucene - Core
> Issue Type: Improvement
> Components: general/test
> Reporter: Ramkumar Aiyengar
> Assignee: Ramkumar Aiyengar
> Priority: Minor
> Fix For: 5.3
>
> Attachments: LUCENE-6564.patch
>
>
> Noticed while debugging some IW output in an unit test that milliseconds were
> not output in the date, changed this to reuse the date format used by
> {{PrintStreamInfoStream}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]