Skip to content

Commit 15552c9

Browse files
committed
Remove obsolete test
FTP servers signal end of transmission by closing connection during transfer, it's not necessarily an error.
1 parent 311a855 commit 15552c9

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

test/uploadSpec.js

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -172,21 +172,6 @@ describe("Upload", function() {
172172
})
173173
})
174174

175-
// it("handles server closing data connection during transfer", () => {
176-
// const source = new Readable()
177-
// source._read = () => {}
178-
// source.push("the beginning...")
179-
// this.server.didStartTransfer = () => {
180-
// this.server.dataConn.destroy()
181-
// source.push("...more")
182-
// source.push(null)
183-
// }
184-
// return assert.rejects(() => this.client.uploadFrom(source, FILENAME), {
185-
// name: "Error",
186-
// message: "read ECONNRESET (data socket)"
187-
// })
188-
// })
189-
190175
it("can upload with localStart/localEndInclusive")
191176
it("can append")
192177
it("can append with localStart/localEndInclusive")

0 commit comments

Comments
 (0)