marklogic / marklogic-rdf4j

Support for MarkLogic exposed inthe rdf4j idiom.
Other
5 stars 3 forks source link

SPARQLRepositoryTest fails when targeting AWS node (vs localhost) #38

Closed laquereric closed 6 years ago

laquereric commented 6 years ago

Test com.marklogic.semantics.rdf4j.SPARQLRepositoryTest on develop branch fails when using AWS node:

COMMAND: ./gradlew :marklogic-rdf4j:test ..... com.marklogic.semantics.rdf4j.SPARQLRepositoryTest > testSPARQLRepositoryWithMarkLogic STARTED

com.marklogic.semantics.rdf4j.SPARQLRepositoryTest > testSPARQLRepositoryWithMarkLogic FAILED org.eclipse.rdf4j.repository.RepositoryException at SPARQLRepositoryTest.java:64 Caused by: org.eclipse.rdf4j.query.UpdateExecutionException at SPARQLRepositoryTest.java:64 Caused by: org.eclipse.rdf4j.http.protocol.UnauthorizedException at SPARQLRepositoryTest.java:64

laquereric commented 6 years ago

password for AWS is not 'admin'... So I tried a fix: marklogic-rdf4j\marklogic-rdf4j\src\test\java\com\marklogic\semantics\rdf4j\SPARQLRepositoryTest.java line 52: sr.setUsernameAndPassword(user,password);

All tests pass!

akshaysonvane commented 6 years ago

Thanks for getting it reported @laquereric Closing the issue as it's fixed via PR https://github.com/marklogic/marklogic-rdf4j/pull/40