Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-17278

Timezone with DST=true and DST=0 fails test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.7
    • None
    • None

    Description

      The TimeZoneUtilsTest#testValidIds() fails with some timezones that have useDaylightTime() as true but getDSTSavings() returns 0. Such timezones can't be converted to String using String.valueOf().

      Here's my JVM:

      [ishan@deskmini solr] $ java -version
      openjdk version "11.0.22" 2024-01-16
      OpenJDK Runtime Environment (Red_Hat-11.0.22.0.7-1) (build 11.0.22+7)
      OpenJDK 64-Bit Server VM (Red_Hat-11.0.22.0.7-1) (build 11.0.22+7, mixed mode, sharing)
      

      Attachments

        1. SOLR-17278-1.patch
          2 kB
          Ishan Chattopadhyaya
        2. SOLR-17278.patch
          2 kB
          Ishan Chattopadhyaya

        Activity

          People

            Unassigned Unassigned
            ichattopadhyaya Ishan Chattopadhyaya
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: