[Geoserver-devel] [jira] (GEOS-5884) app-schema test failures due to timezone handling

Justin Deoliveira created BugGEOS-5884
app-schema test failures due to timezone handling

Issue Type:

BugBug

Affects Versions:

2.4-beta

Assignee:

Ben Caradoc-Davies

Attachments:

org.geoserver.test.TimeSeriesInlineWfsTest.txt, org.geoserver.test.TimeSeriesWfsTest.txt

Components:

Application schema

Created:

10/Jul/13 8:14 AM

Description:

In my timezone, GMT-7, some app-schema module tests fail due to some time assertions being off. Failures below. But if i run the tests and set -Duser.timezone=GMT they pass fine.

Results :

Failed tests:   testTimePositionSubset(org.geoserver.test.TimeSeriesInlineWfsTest): expected:<1949-05-[01 1949-06-01 1949-07-01 1949-08-01 1949-09-0]1> but was:<1949-05-[31 1949-06-30 1949-07-31 1949-08-3]1>
  testQuantityListSubset(org.geoserver.test.TimeSeriesInlineWfsTest): expected:<1949-0[5-01]> but was:<1949-0[4-30]>
  testGetFeature(org.geoserver.test.TimeSeriesInlineWfsTest): expected:<194[8-01-01 1948-02-01 1948-03-01 1948-04-01 1948-05-01 1948-06-01 1948-07-01 1948-08-01 1948-09-01 1948-10-01 1948-11-01 1948-12-01 1949-01-01 1949-02-01 1949-03-01 1949-04-0]1> but was:<194[7-12-31 1948-01-31 1948-02-29 1948-03-31 1948-04-30 1948-05-31 1948-06-30 1948-07-31 1948-08-31 1948-09-30 1948-10-31 1948-11-30 1948-12-31 1949-01-31 1949-02-28 1949-03-3]1>
  testGetFeature(org.geoserver.test.TimeSeriesWfsTest): expected:<194[8-01-01 1948-02-01 1948-03-01 1948-04-01 1948-05-01 1948-06-01 1948-07-01 1948-08-01 1948-09-01 1948-10-01 1948-11-01 1948-12-01 1949-01-01 1949-02-01 1949-03-01 1949-04-0]1> but was:<194[7-12-31 1948-01-31 1948-02-29 1948-03-31 1948-04-30 1948-05-31 1948-06-30 1948-07-31 1948-08-31 1948-09-30 1948-10-31 1948-11-30 1948-12-31 1949-01-31 1949-02-28 1949-03-3]1>
  testQuantityListSubset(org.geoserver.test.TimeSeriesWfsTest): expected:<1949-0[5-01 1949-06-01 1949-07-01 1949-08-01 1949-09-01 1949-10-01 1949-11-01 1949-12-01 1950-01-01 1950-02-01 1950-03-01 1950-04-01 1950-05-01 1950-06-01 1950-07-01 1950-08-01 1950-09-01 1950-10-01 1950-11-01 1950-12-01]> but was:<1949-0[4-30 1949-05-31 1949-06-30 1949-07-31 1949-08-31 1949-09-30 1949-10-31 1949-11-30 1949-12-31 1950-01-31 1950-02-28 1950-03-31 1950-04-30 1950-05-31 1950-06-30 1950-07-31 1950-08-31 1950-09-30 1950-10-31 1950-11-30]>

Tests run: 138, Failures: 5, Errors: 0, Skipped: 0

Environment:

osx 10.7.5, java 1.6.0_45, maven 3.0.5, GMT-7

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Justin Deoliveira

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)