Skip to content

Commit

Permalink
Make sure page cache uses default file system abstraction
Browse files Browse the repository at this point in the history
  • Loading branch information
RagnarW committed Mar 14, 2018
1 parent dd6da53 commit a220bdd
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -45,6 +45,7 @@
import org.neo4j.graphdb.RelationshipType;
import org.neo4j.graphdb.Transaction;
import org.neo4j.graphdb.index.Index;
import org.neo4j.io.fs.DefaultFileSystemAbstraction;
import org.neo4j.io.pagecache.PageCache;
import org.neo4j.kernel.NeoStoreDataSource;
import org.neo4j.kernel.impl.store.StoreType;
Expand Down Expand Up @@ -86,10 +87,11 @@ public class CatchupServerIT
private PageCache pageCache;

@Rule
public DefaultFileSystemRule fsa = new DefaultFileSystemRule();
public DefaultFileSystemRule fileSystemRule = new DefaultFileSystemRule();
@Rule
public TestDirectory testDirectory = TestDirectory.testDirectory( fsa );
public TestDirectory testDirectory = TestDirectory.testDirectory( fileSystemRule );
private CatchUpClient catchUpClient;
private DefaultFileSystemAbstraction fsa = fileSystemRule.get();

@Before
public void startDb()
Expand Down

0 comments on commit a220bdd

Please sign in to comment.