Ticket #6489 (new defect)

SVN Diffs for #6489

 

Opened 3 weeks ago

Last modified 2 weeks ago

TestDateFormatRoundTrip, unrepeatable results

Reported by: andy Assigned to: andy
Priority: assess Milestone: 4.1.1
Component: formatting Version:
Keywords: Cc:
Load: Xref:
Java Version: Operating System:
Project (C/J): all Weeks:
Review:

Description

TestDateFormatRoundTrip, because of the way it is using random numbers, does not produce repeatable results.

The random number generator is not reset, and is used in multiple unrelated tests, and for multiple test cases within this test, so tests that fail when a complete intltest is run no longer fail when run in isolation. The reverse could also happen.

Also, different platforms, presumably with different library random functions, will be running different test cases.

Tests really need to be repeatable.

Attachments

Change History

08/13/08 11:21:36 changed by srl

  • owner changed from somebody to andy.
  • milestone changed from UNSCH to 4.1.1.

generate a set of pseudo random numbers, check them in, make available to tests.


Add/Change #6489 (TestDateFormatRoundTrip, unrepeatable results)




Anti spam check: