Commit 36149d6
committed
fix: improve force_full test to set mtime before watermark
The test was failing in CI because restoring the original mtime still
resulted in a time newer than the watermark. Now we explicitly set
the mtime to 10 seconds before the watermark to ensure the incremental
scan won't detect the change, properly testing that force_full bypasses
the watermark optimization.
Issue #407
Signed-off-by: phernandez <paul@basicmachines.co>1 parent 895a799 commit 36149d6
1 file changed
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
| 180 | + | |
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
185 | | - | |
186 | 184 | | |
187 | | - | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
188 | 190 | | |
189 | | - | |
| 191 | + | |
190 | 192 | | |
191 | 193 | | |
192 | | - | |
| 194 | + | |
193 | 195 | | |
194 | 196 | | |
195 | 197 | | |
| |||
0 commit comments