Details
-
Bug
-
Status: Patch Available
-
Minor
-
Resolution: Unresolved
-
0.11.0.0, 0.11.0.1, 0.11.0.2
-
None
-
Centos 7, Windows 10
Locale = "fr_BE.UTF-8"
Description
If the system has locale settings like "fr_BE.UTF-8", 3 unit tests will fail:
1. org.apache.kafka.common.utils.ShellTest > testRunProgramWithErrorReturn
2. org.apache.kafka.common.utils.ShellTest > testAttemptToRunNonExistentProgram
3. org.apache.kafka.common.utils.UtilsTest > testFormatBytes
They rely on string comparisons which will not work if the system throws an error in another language, or if the float format is different ("," instead of ".").
Attachments
Issue Links
- links to