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