pkg / sftp

SFTP support for the go.crypto/ssh package
BSD 2-Clause "Simplified" License
1.5k stars 380 forks source link

StatVFS is flaky #463

Open puellanivis opened 3 years ago

puellanivis commented 3 years ago

There is a race-condition where we ask for a StatVFS, and then check it against the current results. This has one a number of occasions caused tests to fail, despite being correct code. Usually, the problem is the filesystem changed in between the asking for the StatVFS, and checking the result.

We should find some kind of way of making this deterministic.