Kotlin coroutine unit test performed strangely

Gtihub
Every function in class can be passed. But run the whole class can’t.
The WatchService get the change of file and send by channel.
The Path.subscribe are all success by debug. All path are added to map.
But there isn’t the last two file in watchKey.pollEvents. And the tests in local are failed
But the tests are passed in Github Actions gradle build.
What should I do?