Ticket #422 (new defect)

Opened 5 years ago

DateTimeTest.testOverflow test should set its timezone time adjustment

Reported by: jurko Owned by: jortel
Priority: trivial Milestone: 0.4
Component: XML/sax Version: 0.4
Keywords: Cc:
Blocked By: Blocking:


The DateTimeTest.testOverflow test has two problems:

  1. It depends on a global Timezone.LOCAL setting which may be modified by other tests.
  2. It fails when run with a Timezone.LOCAL setting set to a positive value, e.g. when run without any other tests on a computer in timezone +2 (Europe/Zagreb).

As a fix - it should be modified to set the Timezone.LOCAL value explicitly to -2.

Hope this helps.

Best regards,

Jurko Gospodnetić

Note: See TracTickets for help on using tickets.