File tree Expand file tree Collapse file tree
src/test/java/org/openmetadata/service Expand file tree Collapse file tree Original file line number Diff line number Diff line change 12811281 </plugins >
12821282 </build >
12831283 </profile >
1284+ <profile >
1285+ <id >postgres-rdf-tests</id >
1286+ <build >
1287+ <plugins >
1288+ <plugin >
1289+ <groupId >org.apache.maven.plugins</groupId >
1290+ <artifactId >maven-surefire-plugin</artifactId >
1291+ <version >${maven-surefire.version} </version >
1292+ <configuration >
1293+ <reuseForks >false</reuseForks >
1294+ <parallel >classes</parallel >
1295+ <forkCount >1C</forkCount >
1296+ <argLine >-Xmx2G</argLine >
1297+ <systemPropertyVariables >
1298+ <jdbcContainerClassName >org.testcontainers.containers.PostgreSQLContainer</jdbcContainerClassName >
1299+ <jdbcContainerImage >postgres:15</jdbcContainerImage >
1300+ <elasticSearchContainerClassName >docker.elastic.co/elasticsearch/elasticsearch:8.11.4</elasticSearchContainerClassName >
1301+ <openSearchContainerClassName >opensearchproject/opensearch:2.7.0</openSearchContainerClassName >
1302+ <runESTestCases >false</runESTestCases >
1303+ <enableRdf >true</enableRdf >
1304+ <rdfContainerImage >stain/jena-fuseki:latest</rdfContainerImage >
1305+ <api .version>1.44</api .version>
1306+ </systemPropertyVariables >
1307+ </configuration >
1308+ <executions >
1309+ <execution >
1310+ <id >postgres-rdf-integration-tests</id >
1311+ <phase >test</phase >
1312+ <configuration >
1313+ <includes >
1314+ <include >**/*Test.java</include >
1315+ <include >**/*ResourceTest.java</include >
1316+ </includes >
1317+ </configuration >
1318+ </execution >
1319+ </executions >
1320+ </plugin >
1321+ </plugins >
1322+ </build >
1323+ </profile >
12841324 <profile >
12851325 <id >mysql-redis-tests</id >
12861326 <dependencies >
Original file line number Diff line number Diff line change @@ -553,7 +553,7 @@ private static void setupRedisIfEnabled() {
553553 }
554554
555555 private static void setupRdfIfEnabled () {
556- if (Boolean .TRUE .equals (runWithRdf )) {
556+ if (Boolean .TRUE .equals (runWithRdf ) || "true" . equals ( System . getProperty ( "enableRdf" )) ) {
557557 String rdfContainerImage = System .getProperty ("rdfContainerImage" , "stain/jena-fuseki:5.0.0" );
558558 LOG .info (
559559 "RDF is enabled for tests. Starting Fuseki container with image: {}" , rdfContainerImage );
You can’t perform that action at this time.
0 commit comments