提交 e8148d17 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

fix(spec): use high port instead of 8000

上级 9af830d4
......@@ -108,9 +108,9 @@ test('downloadStream() for media', t => {
t.fail('server on clientError')
socket.end('HTTP/1.1 400 Bad Request\r\n\r\n')
})
server.listen(8000)
server.listen(65534)
UtilLib.urlStream('http://127.0.0.1:8000/ding', [{name: 'life', value: 42}])
UtilLib.urlStream('http://127.0.0.1:65534/ding', [{name: 'life', value: 42}])
.then(s => {
s.on('data', (chunk) => {
// console.log(`BODY: ${chunk}`)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册