test(scanner): skip move detection specs on Windows

This commit is contained in:
junkerderprovinz 2026-10-15 13:45:26 +02:00
parent 9ebdf7c0ab
commit 57dd97e910

View File

@ -597,6 +597,7 @@ var _ = Describe("Scanner", Ordered, func() {
})
It("detects a file was moved to a different folder", func() {
tests.SkipOnWindows("coarse clock can give a new track the scan start time, so the move is missed")
By("Storing the original ID")
original, err := findByPath("The Beatles/Revolver/02 - Eleanor Rigby.mp3")
Expect(err).ToNot(HaveOccurred())
@ -629,6 +630,7 @@ var _ = Describe("Scanner", Ordered, func() {
})
It("detects a move after a scan is interrupted by an error", func() {
tests.SkipOnWindows("coarse clock can give a new track the scan start time, so the move is missed")
By("Storing the original ID")
By("Moving the file to a different folder")
fsys.Move("The Beatles/Revolver/01 - Taxman.mp3", "The Beatles/Help!/01 - Taxman.mp3")
@ -656,6 +658,7 @@ var _ = Describe("Scanner", Ordered, func() {
})
It("detects file format upgrades", func() {
tests.SkipOnWindows("coarse clock can give a new track the scan start time, so the move is missed")
By("Storing the original ID")
original, err := findByPath("The Beatles/Revolver/02 - Eleanor Rigby.mp3")
Expect(err).ToNot(HaveOccurred())