pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tilman Hausherr (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (PDFBOX-2034) TestFilters is non-deterministic
Date Fri, 02 May 2014 08:47:14 GMT

     [ https://issues.apache.org/jira/browse/PDFBOX-2034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tilman Hausherr resolved PDFBOX-2034.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0
                   1.8.6

> TestFilters is non-deterministic
> --------------------------------
>
>                 Key: PDFBOX-2034
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2034
>             Project: PDFBox
>          Issue Type: Improvement
>    Affects Versions: 1.8.5, 2.0.0
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Minor
>              Labels: LZW
>             Fix For: 1.8.6, 2.0.0
>
>
> This is a follow-up of PDFBOX-1977, which was created by John.
> ====
> TestFilters uses Random().nextLong() to generate a seed for random data, which means
that it is non-determinate. Depending on the seed value, the test may fail or succeed.
> ====
> So what we need is:
> - a set of [deterministic tests|http://martinfowler.com/articles/nonDeterminism.html]
> - a set of non-deterministic tests
> To see why, see the discussion in PDFBOX-1977.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message