When jbpm-designer tests are run in Windows environment, many of them fail. You can see the list of failing tests attached in a txt file. They fail with this stacktrace [1]. The wrong URI from the stacktrace can be fixed by putting this code into RepositoryBaseTest class:
protected static final String VFS_REPOSITORY_ROOT =
System.getProperty("os.name").contains("Windows") ?
"default:///" + REPOSITORY_ROOT.replace("
", "/")
: "default://" + REPOSITORY_ROOT;
However this didn't fixed the tests, because many of them still fail at other places. This needs further research. Please let me know if there is a need to help with this. I'm not sure if they test things that shouldn't be run on Windows or so.
- is related to
-
RHBPMS-4175 org.jbpm.designer.server.BusinessProcessCopyHelperTest produces different process ID on Windows
- Closed
-
JBPM-5001 JBPM Designer unit tests failing with Java 8 on Windows
- Reopened