Skip to content

Commit

Permalink
JENA-1407: Execute tests with multiple threads.
Browse files Browse the repository at this point in the history
Changes taken from PR#297.
  • Loading branch information
afs committed Oct 27, 2017
1 parent 87977a9 commit 92c793b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
10 changes: 9 additions & 1 deletion jena-elephas/jena-elephas-io/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
</dependency>
</dependencies>

<build>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand All @@ -87,6 +87,14 @@
</links>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<parallel>classes</parallel>
<threadCount>2</threadCount>
</configuration>
</plugin>
</plugins>
</build>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ public void turtle_with_prefixes_01() throws IOException, InterruptedException {
// Try to reproduce JENA-1075

// Create test data
File f = new File("target/prefixes.ttl");
File f = folder.newFile("prefixes.ttl");

try (FileWriter writer = new FileWriter(f)) {
//@formatter:off
writer.write(StrUtils.strjoinNL("@prefix : <http://test/ns#> .",
Expand Down

0 comments on commit 92c793b

Please sign in to comment.