mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-10 07:11:08 +00:00
b49f535834
The problem was that a statistics/cleanup run is triggered when the database started and runs concurrently with the test. That cleanup run removes old entries without valid addresses, and one of the test objects matched this. The test object would thus randomly be removed in the middle of the test, causing a failure. This fixes it so the object looks recent when the cleaner-upper looks, and also uses a RAM database (faster). |
||
---|---|---|
.. | ||
etc | ||
scripts | ||
apisrv_test.go | ||
apisrv.go | ||
database_test.go | ||
database.go | ||
database.pb.go | ||
database.proto | ||
main.go | ||
README.md | ||
replication.go | ||
stats.go |
stdiscosrv
This is the global discovery server for the syncthing
project.