Andreas Kuckartz:
> I have executed and am executing more experiments with the integration
> tests and will report today or tomorrow. I think that I observed
> something during the start of the launcher which might or might not have
> something to do with the issues.
> 
> A good thing is that I have no problem reproducing the issues ;-)

And now am also able to successfully run the integration test :-)

To do that I first start the launcher:

$ cd integration-tests
$ mvn -o clean install -DkeepJarRunning=true -Dhttp.port=5679

I then wait until I see "[main] Startup completed" and then wait for an
additional ten seconds.

Then I manually start the integration test in another console in the
same directory:

$ mvn -o test -Dtest.server.url=http://localhost:5679

This ends with: BUILD SUCCESS

If I start the test earlier it fails with many failures. So for some
reason the test does not correctly wait for the launcher.

***

I am waiting for the seconds because I noted that accessing the URL:

http://localhost:5679/entityhub/sites/referenced?header_Accept=application/json

in a browser resulted in
   []

immediately after "[main] Startup completed" was output and only changed to
   ["http:\/\/localhost:5679\/entityhub\/site\/dbpedia\/"]

when I reloaded the URL again a few seconds later.

Cheers,
Andreas

Reply via email to