Skip to content

Commit

Permalink
Mute/remove test output
Browse files Browse the repository at this point in the history
  • Loading branch information
MishaDemianenko committed Aug 2, 2016
1 parent 3f295e1 commit ec6a672
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
import org.neo4j.test.EphemeralFileSystemRule;
import org.neo4j.test.PageCacheRule;
import org.neo4j.test.RandomRule;
import org.neo4j.test.SuppressOutput;
import org.neo4j.unsafe.impl.batchimport.store.BatchingIdSequence;

import static java.lang.System.currentTimeMillis;
Expand Down Expand Up @@ -69,9 +70,10 @@ public abstract class RecordFormatTest

private final EphemeralFileSystemRule fsRule = new EphemeralFileSystemRule();
private final PageCacheRule pageCacheRule = new PageCacheRule();
private final SuppressOutput suppressOutput = SuppressOutput.suppressAll();

@Rule
public final RuleChain ruleChain = RuleChain.outerRule( pageCacheRule ).around( fsRule );
public final RuleChain ruleChain = RuleChain.outerRule( pageCacheRule ).around( fsRule ).around( suppressOutput );

public RecordKeys keys = FullyCoveringRecordKeys.INSTANCE;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,6 @@ public void nodeIdsReused() throws Throwable
long currentHighestNodeId = highestNodeId( db );

assertThat( currentHighestNodeId, lessThan( highestNodeIdWithoutReuse ) );

System.out.println( "highestNodeIdWithoutReuse = " + highestNodeIdWithoutReuse );
System.out.println( "currentHighestNodeId = " + currentHighestNodeId );
}

private static void createInitialNodes( GraphDatabaseService db )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ class CreateUniqueEnterpriseConcurrencyIT extends ExecutionEngineFunSuite with E

threads.foreach(_.start())
threads.foreach(_.join)
if (deadlockCounter.get() > 0)
println(s"Deadlocks found: ${deadlockCounter.get()}")
counter.get()
}

Expand Down

0 comments on commit ec6a672

Please sign in to comment.