Ignore test class: uses remote resources. No need to set username and pwd for a read-only connection

This commit is contained in:
Alessia Bardi 2022-04-15 12:15:35 +02:00
parent cd2d1c20ab
commit b3c803e223
1 changed files with 4 additions and 1 deletions

View File

@ -18,12 +18,14 @@ import org.eclipse.rdf4j.repository.manager.RemoteRepositoryManager;
import org.eclipse.rdf4j.rio.RDFFormat;
import org.eclipse.rdf4j.rio.RDFWriter;
import org.eclipse.rdf4j.rio.Rio;
import org.junit.Ignore;
import org.junit.Test;
import org.springframework.core.io.ClassPathResource;
import java.io.StringWriter;
import java.nio.charset.StandardCharsets;
@Ignore
public class GraphDbReaderTest {
private static final Log log = LogFactory.getLog(GraphDbReaderTest.class);
@ -86,9 +88,10 @@ public class GraphDbReaderTest {
}
private boolean openConnection() throws Exception {
manager = new RemoteRepositoryManager(getGraphDBUrl());
manager.init();
manager.setUsernameAndPassword(getUsername(), getPwd());
// manager.setUsernameAndPassword(getUsername(), getPwd());
try {
repository = manager.getRepository(getGraphDBRepository());
} catch (UnauthorizedException e) {