Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib/model: Fail test instead of panic due to closing channel twice #5508

Merged
merged 1 commit into from Feb 5, 2019

Conversation

imsodin
Copy link
Member

@imsodin imsodin commented Feb 5, 2019

Both more readable test results and less mess lying around as cleanup functions can execute.

This is one of a few unit test related PRs resulting from https://forum.syncthing.net/t/openbsd-test-debugging/12799

@AudriusButkevicius AudriusButkevicius merged commit af4fb97 into syncthing:master Feb 5, 2019
@imsodin imsodin deleted the testClosePanic branch February 5, 2019 18:22
calmh added a commit to calmh/syncthing that referenced this pull request Feb 12, 2019
* master:
  Fix builds on Windows without CGO (syncthing#5518)
  lib/db, lib/model: Remove dead code (syncthing#5517)
  gui: Add missing translation string (fixes syncthing#5515)
  lib/model: Don't use LocalDeviceID as normal id in tests (syncthing#5512)
  gui, man, authors: Update docs, translations, and contributors
  lib/model: Improve TestIssue5063 (syncthing#5509)
  lib/model: Add progressEmitter to supervisor (model) (syncthing#5510)
  lib/model: Fail test instead of panic due to closing channel twice (syncthing#5508)
  lib/model: Helperize test os and remove error return value (syncthing#5507)
  gui: Enable large blocks by default, add to config dialog (syncthing#5405)
@calmh calmh added this to the v1.1.0 milestone Feb 12, 2019
@st-review st-review added the frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion label Feb 6, 2020
@syncthing syncthing locked and limited conversation to collaborators Feb 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants