ipfs / go-ds-leveldb

An implementation of go-datastore using leveldb
MIT License
37 stars 21 forks source link

TestDiskUsage fails on Windows #37

Open aschmahmann opened 4 years ago

aschmahmann commented 4 years ago

This test https://github.com/ipfs/go-ds-leveldb/blob/08467f08ce7ac60370872349462070e8df2749a1/ds_test.go#L236

fails on Windows because the database cleanup function (os.RemoveAll(path) encounters a sharing violation on Windows). This might be related to https://github.com/golang/go/issues/34681 and https://github.com/golang/go/issues/32088, or could just be something easier.