Skip to content

Commit

Permalink
issue#293 : Found another deadlock in sail test, adding timeout
Browse files Browse the repository at this point in the history
Investigating this further

Signed-off-by: Peter Ansell <p_ansell@yahoo.com>
  • Loading branch information
ansell committed Aug 22, 2016
1 parent 84b0d9c commit b6bbac1
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -28,6 +28,7 @@
import java.util.Map;
import java.util.Set;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;

import org.eclipse.rdf4j.model.IRI;
import org.eclipse.rdf4j.model.Literal;
Expand All @@ -51,10 +52,15 @@
import org.eclipse.rdf4j.sail.memory.MemoryStore;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.Timeout;

public abstract class AbstractLuceneSailTest {

@Rule
public Timeout timeout = new Timeout(10, TimeUnit.MINUTES);

protected static final ValueFactory vf = SimpleValueFactory.getInstance();

public static final String QUERY_STRING;
Expand Down

0 comments on commit b6bbac1

Please sign in to comment.