рефакторинг нити планировщика двм тестов на сервере.
This commit is contained in:
@@ -78,13 +78,13 @@ public abstract class TestingPlanner<P extends TestingPackage> {
|
||||
protected abstract TasksPackageState getStateAfterStart();
|
||||
protected void InitSessionCredentials() {
|
||||
}
|
||||
protected abstract void TestsSynchronize();
|
||||
protected abstract void PackageWorkspaceCreation();
|
||||
protected abstract void AnalyseResults();
|
||||
protected abstract void PackageStart();
|
||||
protected abstract boolean CheckNextState();
|
||||
protected abstract void DownloadResults();
|
||||
protected abstract void Kill();
|
||||
protected abstract void TestsSynchronize() throws Exception;
|
||||
protected abstract void PackageWorkspaceCreation() throws Exception;
|
||||
protected abstract void AnalyseResults() throws Exception;
|
||||
protected abstract void PackageStart() throws Exception;
|
||||
protected abstract boolean CheckNextState() throws Exception;
|
||||
protected abstract void DownloadResults() throws Exception;
|
||||
protected abstract void Kill() throws Exception;
|
||||
protected boolean Connect() {
|
||||
return true;
|
||||
}
|
||||
@@ -152,6 +152,11 @@ public abstract class TestingPlanner<P extends TestingPackage> {
|
||||
Disconnect();
|
||||
}
|
||||
}
|
||||
//--
|
||||
testingPackage.destructor();
|
||||
testingPackage = null;
|
||||
System.gc();
|
||||
//--
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
ex.printStackTrace();
|
||||
|
||||
Reference in New Issue
Block a user