Skip to content

Commit

Permalink
diagnose stuck test
Browse files Browse the repository at this point in the history
Signed-off-by: Håvard Ottestad <hmottestad@gmail.com>
  • Loading branch information
hmottestad committed Jan 6, 2022
1 parent 047dd69 commit f0ac3a0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ public MemIRI(Object creator, String namespace, String localName) {
this.localName = localName;
assert namespace != null;
assert localName != null;
if (namespace == null || localName == null) {
System.out.println("HERE: " + namespace + " : " + localName);
}
}

/*---------*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ public class TransactionalIsolationSlowIT {

@Test
public void testIsolation2_multithreaded_READ_COMMITTED() throws Throwable {
System.out.println("testIsolation2_multithreaded_READ_COMMITTED");

for (int i = 0; i < 1000; i++) {

for (int i = 0; i < 10000; i++) {
System.out.println(i);
ShaclSail shaclSail = new ShaclSail(new MemoryStore());

SailRepository sailRepository = new SailRepository(shaclSail);
Expand Down Expand Up @@ -172,9 +173,9 @@ public void testIsolation2_multithreaded_READ_COMMITTED() throws Throwable {

@Test
public void testIsolation2_multithreaded_SNAPSHOT() throws Throwable {

for (int i = 0; i < 1000; i++) {

System.out.println("testIsolation2_multithreaded_SNAPSHOT");
for (int i = 0; i < 10000; i++) {
System.out.println(i);
ShaclSail shaclSail = new ShaclSail(new MemoryStore());

SailRepository sailRepository = new SailRepository(shaclSail);
Expand Down

0 comments on commit f0ac3a0

Please sign in to comment.