Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-9495

TestCreateBlogPostAction fails in San Francisco

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Medium
    • None
    • None
    • None
    • None

    Description

      So I'm trying to generate a Confluence-2.6-SNAPSHOT jar to build a plugin, but unfortunately, one unit test fails:

      testBackDatedPostDates(com.atlassian.confluence.pages.actions.TestCreateBlogPostAction)

      The strange thing is, though, that the 2.6 builds on BEAC are green. This is on a virgin checkout of the confluence_2_6_stable branch. I ran 'mvn test' and got this one failure. I reproduced the failure it on my local machine through the command-line, through IDEA and again on BDAC. The error, if you're interested:

      junit.framework.AssertionFailedError: sun.util.calendar.ZoneInfo[id="Asia/Jerusalem",offset=7200000,dstSavings=3600000,useDaylight=true,
      transitions=143,lastRule=java.util.SimpleTimeZone[id=Asia/Jerusalem,offset=7200000,dstSavings=3600000,
      useDaylight=true,startYear=0,startMode=3,startMonth=2,startDay=26,startDayOfWeek=6,startTime=7200000,
      startTimeMode=0,endMode=1,endMonth=8,endDay=13,endDayOfWeek=0,endTime=7200000,endTimeMode=0]] expected:<15> but was:<16>
      at com.atlassian.confluence.pages.actions.TestCreateBlogPostAction.testBackDatedPostDates(TestCreateBlogPostAction.java:115)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)

      Attachments

        Activity

          People

            matt@atlassian.com Matt Ryall
            matt@atlassian.com Matt Ryall
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: