рефакторинг нити планировщика двм тестов на сервере.

This commit is contained in:
2023-12-14 18:45:41 +03:00
parent c07b72eb5d
commit 1fc60e6c12
11 changed files with 403 additions and 177 deletions

View File

@@ -3,6 +3,7 @@ import Common.Constants;
import Common.Database.DBObject;
import Common.Database.iDBObject;
import GlobalData.Tasks.TaskState;
import ProjectData.LanguageName;
import TestingSystem.Common.Group.Group;
import TestingSystem.Common.Test.Test;
import TestingSystem.Common.Test.TestType;
@@ -22,6 +23,8 @@ public class DVMTask extends iDBObject {
@Expose
public String test_description = "";
@Expose
public LanguageName language = LanguageName.fortran;
@Expose
public String flags = "";
@Expose
public int kernels = 1;
@@ -43,6 +46,7 @@ public class DVMTask extends iDBObject {
group_description = t.group_description;
test_id = t.test_id;
test_description = t.test_description;
language = t.language;
flags = t.flags;
kernels = t.kernels;
state = t.state;
@@ -62,9 +66,10 @@ public class DVMTask extends iDBObject {
group_description = group.description;
test_description = test.description;
test_type = group.type;
language = group.language;
flags = flags_in;
}
public Vector<String> pack(int kernels) {
public Vector<String> pack(Object arg) {
return null;
}
}