Check your pattern declaration or check your assert declaration.
You have a different solution? A short tip here would help you and many other users who saw this issue last week.
- java.lang.AssertionError: a transaction is already active on this connection. at org.junit.Assert.fail(Assert.java:88) at org.openrdf.sail.RDFStoreTest$1.run(RDFStoreTest.java:764) at java.lang.Thread.run(Thread.java:745)