no message
This commit is contained in:
@@ -172,6 +172,10 @@ public class TestsSupervisor_2022 {
|
||||
UnzipFolderPass unzipFolderPass = new UnzipFolderPass();
|
||||
unzipFolderPass.Do(results_archive.getAbsolutePath(), packageLocalWorkspace.getAbsolutePath(), false);
|
||||
}
|
||||
//получили результат. теперь уничтожаем папку пакета на целевой машине.
|
||||
if (connection.Exists(packageRemoteWorkspace)){
|
||||
connection.RMDIR(packageRemoteWorkspace.full_name);
|
||||
}
|
||||
}
|
||||
public void getTasksInfo(Vector<? extends TestTask> tasks, String file_name) throws Exception {
|
||||
LinkedHashMap<Long, TestTask> sorted_tasks = new LinkedHashMap<>();
|
||||
@@ -249,6 +253,11 @@ public class TestsSupervisor_2022 {
|
||||
System.out.println("ct_count=" + ct_count + " rt count=" + rt_count);
|
||||
//теперь обновить их единым списком, и удалить задачи на компиляцию.
|
||||
planner.ServerCommand(ServerCode.UpdateTestTasks, compilationTasks);
|
||||
//--
|
||||
System.out.println("cleaning results on server");
|
||||
Utils.forceDeleteWithCheck(packageLocalWorkspace);
|
||||
System.out.println("done");
|
||||
|
||||
}
|
||||
public boolean readTask(TestTask testTask) throws Exception {
|
||||
File taskWorkspace = Paths.get(packageLocalWorkspace.getAbsolutePath(), "results", String.valueOf(testTask.id)).toFile();
|
||||
|
||||
Reference in New Issue
Block a user