Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-1945

Failures in Calendar tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.1.0
    • Back End
    • None

    Description

      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

      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>
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            slawrence Steve Lawrence
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: