mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-08 22:31:04 +00:00
This unexpected EOF is really quite expected
This commit is contained in:
parent
46d4f6037d
commit
43189dfe3a
@ -108,7 +108,7 @@ func TestReset(t *testing.T) {
|
||||
// Reset all indexes
|
||||
log.Println("Reset DB...")
|
||||
bs, err = p.Post("/rest/system/reset", nil)
|
||||
if err != nil {
|
||||
if err != nil && err != io.ErrUnexpectedEOF {
|
||||
t.Fatalf("Failed to reset indexes (all): %v (%s)", err, bytes.TrimSpace(bs))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user