Repository navigation
lib/db: Extend set test with second remote - #6402
Merged
Merged
Conversation
golangcibot
reviewed
Mar 11, 2020
calmh
approved these changes
Mar 11, 2020
calmh
added a commit
to calmh/syncthing
that referenced
this pull request
Mar 17, 2020
* master: lib/protocol: Zero pad index ID strings lib/db: Don't ignore failures unmarshaling version lists (syncthing#6411) lib/db: Use need func in withNeed and simplify (syncthing#6412) cmd/syncthing: Do auto-upgrade before startup (fixes syncthing#6384) (syncthing#6385) lib/db: Extend set test with second remote (syncthing#6402) gui, man, authors: Update docs, translations, and contributors lib/protocol: Use BlocksHash to compare block lists when available (syncthing#6401) lib/api: Ignore that one file that always shows up in git status
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Unit Testing Only
I have a PR brewing with significant db changes (well finished, but sort of in "self-review") and as part of that I extend test coverage. In the large catch-all unit test checking global/local/remote/needed/... I added a second remote into the fray. Also I set sequences on all file infos, not just the local ones.