道场的示例测试实习生(https://github.com/theintern/intern-examples/tree/master/dojo-example)下运行超时错误退出实际上并不测试任何东西,失败上连接到酱网络:TheIntern道场例如用
$ npm test
> [email protected] test /home/bogdanbiv/WebstormProjects/intern-examples/dojo-example
> intern-runner config=tests/intern
Listening on 0.0.0.0:9001
Starting tunnel...
Using no proxy for connecting to Sauce Labs REST API.
**********************************************************
A newer version of Sauce Connect (build 1283) is available!
Download it here:
https://saucelabs.com/downloads/sc-4.3-linux.tar.gz
**********************************************************
Started scproxy on port 49172.
Starting secure remote tunnel VM...
Secure remote tunnel VM provisioned.
Tunnel ID: 2f904e21cf1e4c3e83f63a4b3089127c
Secure remote tunnel VM is now: booting
Secure remote tunnel VM is now: running
Remote tunnel host is: maki76020.miso.saucelabs.com
Using no proxy for connecting to tunnel VM.
Establishing secure TLS connection to tunnel...
Cleaning up.
Finished! Deleting tunnel.
Error: failed to connect to tunnel VM.
Error: failed to connect to tunnel VM.
at reject <node_modules/intern/node_modules/digdug/SauceLabsTunnel.js:353:17>
at readStartupMessage <node_modules/intern/node_modules/digdug/SauceLabsTunnel.js:381:12>
at <node_modules/intern/node_modules/digdug/SauceLabsTunnel.js:434:12>
at Array.some <native>
at Socket.<anonymous> <node_modules/intern/node_modules/digdug/SauceLabsTunnel.js:428:21>
at Socket.EventEmitter.emit <events.js:117:20>
at Socket.<anonymous> <_stream_readable.js:746:14>
at Socket.EventEmitter.emit <events.js:92:17>
at emitReadable_ <_stream_readable.js:408:10>
at emitReadable <_stream_readable.js:404:5>
npm ERR! weird error 1
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm ERR! not ok code 0
确定它抱怨具有老酱连接二进制,但即使在下载并插入最新的SC(4.3)的路径。我还更新了.bin/intern-runner以包含js
作为运行环境,而不是旧的node
命令。用户名和密码是存储库中的用户名和密码(保持不变)。我遵循了文档,并取消了实习生配置文件中的隧道注释。
UPDATE:仍然会出现此问题。我发现代理启动Started scproxy on port 54687.
奇怪,但是,进一步下来,Using no proxy for connecting to tunnel VM.
。这些线不应该匹配吗? 这可能是因为这种不匹配与原始问题无关?新的Sauce Connect二进制文件仍然被忽略。