git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (DAFFODIL-1945) Failures in Calendar tests


Steve Lawrence created DAFFODIL-1945:
----------------------------------------

             Summary: Failures in Calendar tests
                 Key: DAFFODIL-1945
                 URL: https://issues.apache.org/jira/browse/DAFFODIL-1945
             Project: Daffodil
          Issue Type: Bug
            Reporter: Steve Lawrence
             Fix For: 2.2.0


Five tests are failing when a user runs sbt test, all appear to be related to calendar patterns that use "weeks in year" elements. Unclear how to reproduce the issue so far. Errors copied below. For more information, see https://lists.apache.org/thread.html/68c22e44ecdb5cf383e5078bdd7aac92d2a68bbe6b5a63cac3e2d99e@%3Cdev.daffodil.apache.org%3E

{code}
One in daffodil-test-ibm1/test:
	[error] Test org.apache.daffodil.IBMTestsThatPass.test_simple_type_properties_text_calendar_13_01 failed: java.lang.Exception: 
	[error] Comparison failed.
	[error] Expected
	[error]           <myDateTime>2010-12-27T04:05:06.000000+00:00</myDateTime>
	[error] Actual
	[error]           <myDateTime>2010-12-20T04:05:06.000000+00:00</myDateTime>


Four in daffodil-test/test:
	[error] Test org.apache.daffodil.section05.simple_types.TestSimpleTypes.test_dateCalendarDaysInFirstWeek3 failed: java.lang.Exception: 
	[error] Comparison failed.
	[error] Expected
	[error]           <date17>2012-01-01+00:00</date17>
	[error] Actual
	[error]           <date17>2012-12-23+00:00</date17>

	[error] Test org.apache.daffodil.section05.simple_types.TestSimpleTypes.test_dateCalendarDaysInFirstWeek5 failed: java.lang.Exception: 
	[error] Comparison failed.
	[error] Expected
	[error]           <date20>2013-02-24+00:00</date20>
	[error] Actual
	[error]           <date20>2013-02-10+00:00</date20>

	[error] Test org.apache.daffodil.section05.simple_types.TestSimpleTypes.test_dateCalendarFirstDayOfWeek03 failed: java.lang.Exception: 
	[error] Comparison failed.
	[error] Expected
	[error]           <date06>2013-02-03+00:00</date06>
	[error] Actual
	[error]           <date06>2013-02-02+00:00</date06>

	[error] Test org.apache.daffodil.section05.simple_types.TestSimpleTypes.test_dateCalendarFirstDayOfWeek04 failed: java.lang.Exception: 
	[error] Comparison failed.
	[error] Expected
	[error]           <date06>2013-02-04+00:00</date06>
	[error] Actual
	[error]           <date06>2013-02-03+00:00</date06>
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)