File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
src/test/java/engineering/swat/watch Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 3939import java .util .Collections ;
4040import java .util .Set ;
4141import java .util .concurrent .ConcurrentHashMap ;
42- import java .util .concurrent .ConcurrentLinkedDeque ;
4342import java .util .concurrent .Executor ;
4443import java .util .concurrent .Executors ;
4544import java .util .concurrent .LinkedBlockingDeque ;
5655import org .junit .jupiter .api .Test ;
5756import org .junit .jupiter .api .condition .EnabledIfEnvironmentVariable ;
5857
59- import engineering .swat .watch .WatchEvent .Kind ;
60-
6158class TortureTests {
6259
6360 private final Logger logger = LogManager .getLogger ();
@@ -70,7 +67,7 @@ void setup() throws IOException {
7067 }
7168
7269 @ AfterEach
73- void cleanup () throws IOException {
70+ void cleanup () {
7471 if (testDir != null ) {
7572 testDir .close ();
7673 }
@@ -90,7 +87,7 @@ private final class IOGenerator {
9087 }
9188 }
9289
93- private final static int BURST_SIZE = 1000 ;
90+ private static final int BURST_SIZE = 1000 ;
9491
9592 private void startJob (final Path root , Random r , Executor exec ) {
9693 exec .execute (() -> {
You can’t perform that action at this time.
0 commit comments