отключение проверок на сбой связи
This commit is contained in:
@@ -144,11 +144,11 @@ public abstract class TestingPlanner<P extends TestingPackage> extends TestingCl
|
|||||||
//--
|
//--
|
||||||
Print(testingPackage.id + ":" + testingPackage.state.getDescription());
|
Print(testingPackage.id + ":" + testingPackage.state.getDescription());
|
||||||
//--
|
//--
|
||||||
if (testingPackage.connectionErrosCount >= 10) {
|
// if (testingPackage.connectionErrosCount >= 10) {
|
||||||
Print(testingPackage.id + " had 10 connection errors. stop");
|
// Print(testingPackage.id + " had 10 connection errors. stop");
|
||||||
UpdatePackageState(TasksPackageState.ConnectionError);
|
// UpdatePackageState(TasksPackageState.ConnectionError);
|
||||||
MachineConnectionError();
|
// MachineConnectionError();
|
||||||
} else {
|
// } else {
|
||||||
//--
|
//--
|
||||||
InitSessionCredentials();
|
InitSessionCredentials();
|
||||||
if (testingPackage.state.equals(TasksPackageState.Analysis)) {
|
if (testingPackage.state.equals(TasksPackageState.Analysis)) {
|
||||||
@@ -197,13 +197,13 @@ public abstract class TestingPlanner<P extends TestingPackage> extends TestingCl
|
|||||||
ex.printStackTrace();
|
ex.printStackTrace();
|
||||||
Print(ex.getMessage());
|
Print(ex.getMessage());
|
||||||
//
|
//
|
||||||
testingPackage.connectionErrosCount++;
|
// testingPackage.connectionErrosCount++;
|
||||||
UpdatePackage();
|
// UpdatePackage();
|
||||||
} finally {
|
} finally {
|
||||||
Disconnect();
|
Disconnect();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
// }
|
||||||
//--
|
//--
|
||||||
testingPackage.destructor();
|
testingPackage.destructor();
|
||||||
testingPackage = null;
|
testingPackage = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user