Skip to content

Commit

Permalink
Fix new tests after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
MishaDemianenko committed Feb 27, 2017
1 parent 597773e commit 4468634
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,10 @@
import org.neo4j.io.pagecache.tracing.DefaultPageCacheTracer;
import org.neo4j.io.pagecache.tracing.PageCacheTracer;
import org.neo4j.io.pagecache.tracing.PinEvent;
import org.neo4j.test.rule.RepeatRule;
import org.neo4j.io.pagecache.tracing.cursor.DefaultPageCursorTracer;
import org.neo4j.io.pagecache.tracing.cursor.DefaultPageCursorTracerSupplier;
import org.neo4j.io.pagecache.tracing.cursor.PageCursorTracerSupplier;

import org.neo4j.test.rule.RepeatRule;

import static java.lang.Long.toHexString;
import static java.lang.System.currentTimeMillis;
Expand Down Expand Up @@ -2790,7 +2789,7 @@ public void pageCursorCloseShouldNotReturnAlreadyClosedLinkedCursorToPool() thro
{
File file = file( "a" );
generateFileWithRecords( file, recordsPerFilePage * 2, recordSize );
getPageCache( fs, maxPages, pageCachePageSize, PageCacheTracer.NULL );
getPageCache( fs, maxPages, pageCachePageSize, PageCacheTracer.NULL, DefaultPageCursorTracerSupplier.INSTANCE );
try ( PagedFile pf = pageCache.map( file, filePageSize ) )
{
PageCursor a = pf.io( 0, PF_SHARED_WRITE_LOCK );
Expand All @@ -2809,7 +2808,7 @@ public void pageCursorCloseShouldNotReturnSameObjectToCursorPoolTwice() throws E
{
File file = file( "a" );
generateFileWithRecords( file, recordsPerFilePage * 2, recordSize );
getPageCache( fs, maxPages, pageCachePageSize, PageCacheTracer.NULL );
getPageCache( fs, maxPages, pageCachePageSize, PageCacheTracer.NULL, DefaultPageCursorTracerSupplier.INSTANCE );
try ( PagedFile pf = pageCache.map( file, filePageSize ) )
{
PageCursor a = pf.io( 0, PF_SHARED_WRITE_LOCK );
Expand Down

0 comments on commit 4468634

Please sign in to comment.