Skip to Content
0
Former Member
Dec 14, 2012 at 10:09 AM

Troubleshooting for Neo SDK samples integration tests

21 Views

Hi,

while running integration tests for the SDK samples, I stumbled over these issues:

1. Account not found error while deploying

This happens for users with trial accounts. To solve this, add the following profile to parent pom.xml:

<profile>

<id>trial</id>
<properties>
nwtrial.ondemand.com </properties>
</profile>

Run tests with mvn verify -P cloud-integration-tests,trial

2. connectivity-outbound-internet fails with HTTP error 404 not found

The test tries to the Terms of Use web page, but it has moved

HttpGet httpGet = new HttpGet("/help/terms_of_use.html");

Just remove the trailing "/help" from the path.

I think these hints may be helpful for others.

Maybe the samples and documentation need a bit improvement.

Regards, Sebastian