我正面临Node计算机与Hub断开连接的挑战。因此,我在詹金斯(Jenkins)的每日批处理计划失败了。集线器和节点连接了一天或两天,但后来它们断开了连接。
有人可以帮我断开连接的原因吗?
以下是我的节点配置(node.json):
{
"capabilities":
[
{
"browserName": "firefox",
"maxInstances": 5,
"seleniumProtocol": "WebDriver"
},
{
"browserName": "chrome",
"maxInstances": 5,
"seleniumProtocol": "WebDriver"
},
{
"browserName": "internet explorer",
"maxInstances": 1,
"seleniumProtocol": "WebDriver"
}
],
"proxy": "org.openqa.grid.selenium.proxy.DefaultRemoteProxy",
"maxSession": 5,
"port": 17946,
"register": true,
"registerCycle": 5000,
"hub": "http://jenkins.abc.edu:4444",
"nodePolling": 5000,
"role": "node",
"downPollingLimit": 2,
"debug": false,
"servlets" : [],
"withoutServlets": [],
"custom": {}
}