epugh opened a new pull request, #4869:
URL: https://github.com/apache/solr/pull/4869

   
   # Description
   
   Solr randomized-locale test picked dz (Dzongkha), and Google's 
FakeStorageRpc (the in-memory GCS test double behind LocalStorageHelper) 
formats its own internal "now" timestamp using the JVM default locale without 
forcing ASCII digits. Under dz that produces Tibetan numerals 
(༢༠༢༦-༠༩-༠༣T༡༢:༥༩:༤༣Z = "2026-09-03T12:59:43Z"), which its own strict RFC3339 
parser then can't read back — NumberFormatException → StorageException. This is 
a bug in the third-party test double, not in Solr's GCS repository code
   
   # Solution
   
   Pin the locale to root.
   
   # Tests
   
   These tests were failing on main:
   
   ```
   ./gradlew :solr:modules:gcs-repository:test --tests 
"org.apache.solr.gcs.GCSBackupRepositoryTest.testCopyIndexFileToCopiesFile" 
"-Ptests.jvmargs=-XX:TieredStopAtLevel=1 -XX:+UseParallelGC 
-XX:ActiveProcessorCount=1 -XX:ReservedCodeCacheSize=120m" 
-Ptests.seed=A7CF46E0A0013828 -Ptests.timeoutSuite=600000! 
-Ptests.useSecurityManager=true -Ptests.file.encoding=ISO-8859-1
   
   ./gradlew :solr:modules:gcs-repository:test --tests 
"org.apache.solr.gcs.GCSBackupRepositoryTest.testCopyIndexFileToHandlesZeroByteReads"
 "-Ptests.jvmargs=-XX:TieredStopAtLevel=1 -XX:+UseParallelGC 
-XX:ActiveProcessorCount=1 -XX:ReservedCodeCacheSize=120m" 
-Ptests.seed=A7CF46E0A0013828 -Ptests.timeoutSuite=600000! 
-Ptests.useSecurityManager=true -Ptests.file.encoding=ISO-8859-1
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to