Skip to content

Commit 80de4d0

Browse files
committed
Debug test
1 parent c7901f2 commit 80de4d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/engineering/swat/watch/SingleDirectoryTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ void memorylessRescanOnOverflow() throws IOException, InterruptedException {
166166
@Test
167167
void indexingRescanOnOverflow() throws IOException, InterruptedException {
168168
var directory = testDir.getTestDirectory();
169+
Thread.sleep(TestHelper.NORMAL_WAIT.toMillis());
169170

170171
var bookkeeper = new TestHelper.Bookkeeper();
171172
var dropEvents = new AtomicBoolean(false); // Toggles overflow simulation
@@ -174,7 +175,6 @@ void indexingRescanOnOverflow() throws IOException, InterruptedException {
174175
.onOverflow(Approximation.DIFF)
175176
.on(bookkeeper);
176177

177-
Thread.sleep(TestHelper.NORMAL_WAIT.toMillis());
178178
try (var watch = watchConfig.start()) {
179179

180180
// Begin overflow simulation

0 commit comments

Comments
 (0)