[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #17033 [metrics-lib]: failing tests due to system locale
#17033: failing tests due to system locale
-------------------------+-------------------------
Reporter: iwakeh | Owner: karsten
Type: defect | Status: new
Priority: minor | Milestone:
Component: metrics-lib | Version:
Keywords: | Actual Points:
Parent ID: | Points:
-------------------------+-------------------------
metrics-lib's test assume implicitly that the jvm has the US locale.
This should be addressed in the code of the respective tests.
**Quick fix** add the locale setting to the ant task:
{{{
<junit fork="true" haltonfailure="true" printsummary="off">
<classpath refid="classpath"/>
+ <jvmarg value="-Duser.language=us -Duser.region=US"/>
<formatter type="plain" usefile="false"/>
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17033>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs