You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github-actionsbot
changed the title
Failing tests of [Small|Big|]IntToScaledFixedConverter for non-standard LOCALE
SNOW-1619616: Failing tests of [Small|Big|]IntToScaledFixedConverter for non-standard LOCALE
Aug 9, 2024
What version of JDBC driver are you using?
latest from git
What operating system and processor architecture are you using?
Fedora 40, amd64
What version of Java are you using?
21
What did you do?
./mvnw clean verify
What did you expect to see?
all test successful.
However, three tests (SmallInt, Int, BigInt conversion) were failing.
For example,
test
IntToFixedConverterTest::testFixedWithScale()
Test run with standard system settings
L130
converter.toString(i)
: Here, a value in the form of1,234
is returned.L141
expectedVal.toString()
: This returns1.234
.Test run with LC_ALL=C
Test completes successfully
SUMMARY
the [Small|Big|]IntToScaledConvert classes are not locale-agnostic and run into failures depending on the locale configuration of the system.
I believe that either
The text was updated successfully, but these errors were encountered: