Uploaded image for project: 'Continuum'
  1. Continuum
  2. CONTINUUM-723

strange trouble on solaris

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.0.3
    • 1.1-beta-1
    • Environmental
    • None
    • solaris

    Description

      Hi,
      I have a junit test with contains the following code :

      SimpleDateFormat simpleDateFormat = new SimpleDateFormat( "yyyy-MM-dd",
      Locale.FRANCE );
      // harcoded date due to xmlunit comparaison
      Date timeStamp = simpleDateFormat.parse( "2001-05-28" );
      return DateTools.setNoonHour( timeStamp );

      FastDateFormat.getInstance( "yyyy-MM-dd'T'HH:mm:ss.SSSZZ"
      ).format(date);

      On windows+cygwin : 2001-05-28T12:00:00.000+02:00
      On solaris with same user who start continuum exec junit with cli :
      2001-05-28T12:00:00.000+02:00
      The same junit with continuum says : 2001-05-28T12:00:00.000+00:00

      Error says :
      Expected attribute value '2001-05-28T12:00:00.000+02:00' but was
      '2001-05-28T12:00:00.000+00:00' - comparing at
      /OTA_HotelAvailRS[1]/@TimeStamp to at /OTA_HotelAvailRS[1]/@TimeStamp

      I start continuum with $CONTINUUM_HOME/bin/plexus.sh > /dev/null &

      The .profile contains :
      ...
      LANG=en_US.ISO8859-15
      export LANG

      ##opts maven
      MAVEN_OPTS="-Xmx512m -Xms512m -Dfile.encoding=ISO-8859-1"
      export MAVEN_OPTS
      ...

      I don't change anything on plexus.sh script.

      Any ideas ??
      Thanks,

      Olivier

      Attachments

        1. CONTINUUM-723.tar.gz
          2 kB
          Olivier Lamy
        2. build.xml
          0.5 kB
          Otto Kolsi

        Activity

          People

            Unassigned Unassigned
            olamy Olivier Lamy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: