mirror of
https://github.com/usatiuk/dhfs.git
synced 2025-10-29 04:57:48 +01:00
Executor fix
This commit is contained in:
@@ -41,10 +41,11 @@ public class LazyFsIT {
|
|||||||
LazyFs lazyFs1;
|
LazyFs lazyFs1;
|
||||||
LazyFs lazyFs2;
|
LazyFs lazyFs2;
|
||||||
|
|
||||||
private final ExecutorService executor = Executors.newCachedThreadPool();
|
ExecutorService executor;
|
||||||
|
|
||||||
@BeforeEach
|
@BeforeEach
|
||||||
void setup(TestInfo testInfo) throws IOException, InterruptedException, TimeoutException {
|
void setup(TestInfo testInfo) throws IOException, InterruptedException, TimeoutException {
|
||||||
|
executor = Executors.newCachedThreadPool();
|
||||||
data1 = Files.createTempDirectory("dhfsdata").toFile();
|
data1 = Files.createTempDirectory("dhfsdata").toFile();
|
||||||
data2 = Files.createTempDirectory("dhfsdata").toFile();
|
data2 = Files.createTempDirectory("dhfsdata").toFile();
|
||||||
data1Lazy = Files.createTempDirectory("lazyfsroot").toFile();
|
data1Lazy = Files.createTempDirectory("lazyfsroot").toFile();
|
||||||
|
|||||||
Reference in New Issue
Block a user