HA2: OrchestratorIntegrationTest fails

0 votes
asked Nov 8, 2019 in SWSV by zsugabubus (24 points)  

After updating the repository from ris-2019 and running all of the test of HA2 every test passed except the OrchestratorIntegrationTest.
In this test i got the following error:

java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: eu.arrowhead.common.exception.ArrowheadException: Unknown error occurred at Check log for possibly more information.
Caused by: com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'No': was expecting 'null', 'true', 'false' or NaN

On Travis it is working well.

What am I missing?
Thanks in advance.

1 Answer

0 votes
answered Nov 9, 2019 by micskeiz (2,873 points)  

From the exception it seems that the problem is with loading the JSONs. Try to compare them with this and this to see whether the merge was successful.

Otherwise, use

mvn -X test

to produce debug output to have more details.