【发布时间】:2017-02-06 19:30:15
【问题描述】:
我正在尝试编写一些 selenium 网格 (3.0.1) 测试并使用 VirtualBox Windows VM 来测试框架。我可以毫无问题地将集线器连接到同一台机器(Mac 或 Windows、VM 或真实)上的节点。我还可以将我的 Mac 连接到同事的 windows 机器而不会掉线。但是,当我将我的 Mac 连接到 Windows 虚拟机(运行 VirtualBox,如果有帮助的话)。节点每 30 秒左右断开一次连接。另外,当我登录到控制台时,我在节点上看到此错误消息:http://imgur.com/a/Rmwt3。下面是日志的 sn-p,以查看连接/重新连接发生的频率。我需要能够设置它,这样我就可以在生产中使用它们之前编写测试。谢谢!
13:19:41.978 INFO - Registered a node http://10.0.2.15:5555
13:20:12.001 INFO - Marking the node http://10.0.2.15:5555 as down: cannot reach the node for 2 tries.
13:21:12.063 INFO - Unregistering the node http://10.0.2.15:5555 because it's been down for 60062 milliseconds
13:21:12.063 WARN - Cleaning up stale test sessions on the unregistered node http://10.0.2.15:5555
13:21:12.461 INFO - Registered a node http://10.0.2.15:5555
13:21:42.481 INFO - Marking the node http://10.0.2.15:5555 as down: cannot reach the node for 2 tries
13:22:42.520 INFO - Unregistering the node http://10.0.2.15:5555 because it's been down for 60038 milliseconds
13:22:42.520 WARN - Cleaning up stale test sessions on the unregistered node http://10.0.2.15:5555
13:22:42.945 INFO - Registered a node http://10.0.2.15:5555
【问题讨论】:
标签: macos selenium virtual-machine selenium-grid