mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-18 07:30:29 +00:00
test(scanner): skip move detection specs on Windows
This commit is contained in:
parent
9ebdf7c0ab
commit
57dd97e910
@ -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())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user