Search in sources :

Example 1 with LimitedFilesystemAbstraction

use of org.neo4j.test.limited.LimitedFilesystemAbstraction in project neo4j by neo4j.

the class RunOutOfDiskSpaceIT method setUp.

@BeforeEach
void setUp() {
    limitedFs = new LimitedFilesystemAbstraction(new UncloseableDelegatingFileSystemAbstraction(fileSystem));
    managementService = new TestDatabaseManagementServiceBuilder(databaseLayout).setFileSystem(limitedFs).build();
    database = (GraphDatabaseAPI) managementService.database(DEFAULT_DATABASE_NAME);
}
Also used : TestDatabaseManagementServiceBuilder(org.neo4j.test.TestDatabaseManagementServiceBuilder) UncloseableDelegatingFileSystemAbstraction(org.neo4j.io.fs.UncloseableDelegatingFileSystemAbstraction) LimitedFilesystemAbstraction(org.neo4j.test.limited.LimitedFilesystemAbstraction) BeforeEach(org.junit.jupiter.api.BeforeEach)

Aggregations

BeforeEach (org.junit.jupiter.api.BeforeEach)1 UncloseableDelegatingFileSystemAbstraction (org.neo4j.io.fs.UncloseableDelegatingFileSystemAbstraction)1 TestDatabaseManagementServiceBuilder (org.neo4j.test.TestDatabaseManagementServiceBuilder)1 LimitedFilesystemAbstraction (org.neo4j.test.limited.LimitedFilesystemAbstraction)1