отключение проверок на сбой связи

This commit is contained in:
2025-02-06 14:07:46 +03:00
parent 775526b5e3
commit 63b923e33b

View File

@@ -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;