-
Bug Report
-
Resolution: Duplicate
-
L3 - Default
-
None
-
7.8.6
-
None
-
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
Problems at first time build of camunda-bpm-platform
I did the following:
1. clone of https://github.com/camunda/camunda-bpm-platform.git
2. adjusting mavens setting.xml as described in the README.md
3. run mvn clean install.
Then after a while during the run of the tests, I got the following message:
Failed tests:
BpmnParseTest>AbstractProcessEngineTestCase.runBare:111->testXmlParsingErrors:219->PvmTestCase.assertTextPresent:35
expected presence of
[The end-tag for element type "bpmndi:BPMNLabel" must end with a '>' delimiter],
but was
[ENGINE-09003 Could not parse 'org/camunda/bpm/engine/test/bpmn/parse/BpmnParseTest.testXMLParsingErrors.bpmn'.
Endtag für Elementtyp "bpmndi:BPMNLabel" muss mit einem ">"-Begrenzungszeichen enden.]
And the build stops with failure.
The reason is easily spotted:
In the class file
camunda-bpm-platform/engine/src/test/java/org/camunda/bpm/engine/test/bpmn/parse/BpmnParseTest.java
the expected error messages are hardcoded (sic!) in English.
So the test code depends on the language setting of the underlying OS.
Some more Info:
(Run by git bash on Win10)
$ mvn -version
Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-24T20:49:05+01:00)
Maven home: C:\Opt\apache-maven-3.5.3
Java version: 1.8.0_162, vendor: Oracle Corporation
Java home: C:\Opt\Java\jdk1.8.0_162\jre
Default locale: de_DE, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
This is the controller panel for Smart Panels app
- duplicates
-
CAM-9307 Set Locale for tests to en_US
- Closed