Closed tesshucom closed 1 year ago
Test cases with different test behavior depending on the OS can be classified into two types based on their causes.
MediaScannerServiceImplTest$GetChildrenOfTest#testBehavioralSpecForTagReflesh()
Perform tag edits on files after scanning and check whether the results are properly reflected after rescanning. At this time, instead of actually opening the file and rewriting the tag, it is reproduced by overwriting with the edited file. (Because that operation is a common use case.)
It will be handled as follows.
By the way, B's suppression may be removed when JDK11's LTS expires. No more tracking will be needed. This issue will be closed when pull request on #1925 is merged.
maven-enforcer-plugin bumped to 3.2.1 at b4e82696f465c43416cde6e51bca428c22e8a219. Because it was affecting some test cases badly. (Once every few years something like this happens to the maven-enforcer ... )
#2041
, directory timestamps are no longer used to determine album reparsing.
What does that mean...
As Subsonic users know well, changing files often didn't change album data. In such cases, a well-known workaround is to run the touch command on the filesystem to update the timestamp of the album directory. One of the so-called bad know-how.
#2041
is expected to improve such cases. This is because it no longer depends on the OS's directory timestamp specification.
Scan considerations. Related #airsonic/airsonic#1708, #1736. Prerequisites: #1909, #1922, #1932, #1925
Problem description
At some point the behavior of the test changed even though I didn't change the logic. I have a guess, but I'm not sure.
Steps to reproduce
Flaky like #1645, #1560 may occur in very rare cases (libraries with insufficient tag maintenance). Modern Windows and Linux behave very similarly, but Windows Server can behave quite differently under certain conditions.
This series of issues was not observed until 20220410.1 and has been observed since 20220425.1 on Windows Server.
(Since Windows Server is not used much...) The substantive impact is considered to be low, However, Scan flow would be more complete if the result was unified on all OSs.
Solution guidelines
The cause of the glitch has not yet been determined. The verifications scheduled for v111.6.0 are as follows:
Research
https://github.com/tesshucom/jpsonic/issues/1840#issuecomment-1399908058