Skip to content

Commit a379f5c

Browse files
committed
Debug test
1 parent 1153001 commit a379f5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,12 +211,12 @@ void indexingRescanOnOverflow() throws IOException, InterruptedException {
211211
bookkeeper.reset();
212212
Files.writeString(directory.resolve("b.txt"), "baz");
213213
Files.createFile(directory.resolve("c.txt"));
214-
Files.delete(directory.resolve("d.txt"));
214+
Files.delete(directory.resolve("a.txt"));
215215

216216
for (var e : new WatchEvent[] {
217217
new WatchEvent(MODIFIED, directory, Path.of("b.txt")),
218218
new WatchEvent(CREATED, directory, Path.of("c.txt")),
219-
new WatchEvent(DELETED, directory, Path.of("d.txt"))
219+
new WatchEvent(DELETED, directory, Path.of("a.txt"))
220220
}) {
221221
await("File operation should trigger event: " + e + " --- " + bookkeeper)
222222
.until(() -> bookkeeper.events().any(e));

0 commit comments

Comments
 (0)