Test both walk cancellation checks on their own (closes #81)
check / check (push) Failing after 1s
check / check (push) Failing after 1s
walkOneDir's check was hiding the worker's: a worker that walked a queued directory on a cancelled scan still emitted nothing, because walkOneDir stopped at its first entry. The worker test now queues a missing directory, whose read fails and sends a warning before walkOneDir's check is reached. A new test calls walkOneDir directly on a cancelled scan and checks it returns no subdirectory to descend into. Model: opus-5-5
This commit was merged in pull request #85.
This commit is contained in:
@@ -29,6 +29,9 @@
|
||||
|
||||
# Completed Steps
|
||||
|
||||
- a test fails when either walk cancellation check in `scan.go` is
|
||||
removed (2026-10-04, https://git.eeqj.de/sneak/sfdupes/issues/81)
|
||||
|
||||
- test that `scan` refuses a database with another schema version
|
||||
(2026-10-04, https://git.eeqj.de/sneak/sfdupes/issues/64)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user