[tor-commits] [metrics-base/master] Set default locale and default time zone for tests.
karsten at torproject.org
karsten at torproject.org
Wed Apr 1 10:23:49 UTC 2020
commit b5e1a2d7b29e58cc0645f068a1ebf4377bf9d8b8
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date: Wed Apr 1 12:22:32 2020 +0200
Set default locale and default time zone for tests.
Set default locale `US` and default time zone `UTC` using Java
properties before when running unit tests.
Part of #33655.
---
java/base.xml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/java/base.xml b/java/base.xml
index f28062a..9c47737 100644
--- a/java/base.xml
+++ b/java/base.xml
@@ -186,6 +186,8 @@
printsummary="on">
<jvmarg value="-DLOGBASE=${generated}/test-logs"/>
<jvmarg value="-Dlogback.configurationFile=${buildresources}/logback.xml" />
+ <jvmarg value="-Duser.country=US" />
+ <jvmarg value="-Duser.timezone=UTC" />
<classpath refid="test.classpath"/>
<formatter type="plain" usefile="false"/>
<batchtest>
More information about the tor-commits
mailing list