Index: trunk/test/unit/org/openstreetmap/josm/gui/layer/GpxLayerTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/gui/layer/GpxLayerTest.java	(revision 15370)
+++ trunk/test/unit/org/openstreetmap/josm/gui/layer/GpxLayerTest.java	(revision 15396)
@@ -11,8 +11,10 @@
 import java.util.Collection;
 import java.util.HashMap;
+import java.util.Locale;
 import java.util.TimeZone;
 
 import javax.swing.JScrollPane;
 
+import org.junit.BeforeClass;
 import org.junit.Rule;
 import org.junit.Test;
@@ -42,4 +44,13 @@
     @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
     public JOSMTestRules test = new JOSMTestRules().main().projection().i18n();
+
+    /**
+     * Setup test
+     */
+    @BeforeClass
+    public static void beforeClass() {
+        // Make sure we don't rely on a specific country, for distance units
+        Locale.setDefault(Locale.ENGLISH);
+    }
 
     private static String getHtml(GpxLayer layer) {
