lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <>
Subject [jira] [Updated] (LUCENE-6564) Normalize date format for IW in unit tests
Date Mon, 15 Jun 2015 18:50:00 GMT


Uwe Schindler updated LUCENE-6564:
    Attachment: LUCENE-6564-trunk.patch

Here patch for 5.x and trunk. In trunk I use the Java 8 Datetime API with,
in 5.x I added a comment why misusing FileTime.

Please have in mind that the output is always in UTC. In Java 8 we could use local time, too,
but this would make it identical for both cases. In addition, while running tests, we randomize
the timezone, so the "local" date is bit useless...

Any comments?

> Normalize date format for IW in unit tests
> ------------------------------------------
>                 Key: LUCENE-6564
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: general/test
>            Reporter: Ramkumar Aiyengar
>            Assignee: Ramkumar Aiyengar
>            Priority: Minor
>             Fix For: 5.3
>         Attachments: LUCENE-6564-5x.patch, LUCENE-6564-trunk.patch, LUCENE-6564.patch,
LUCENE-6564.patch, 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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message