исправление бага с неуведомлением о запуске пакета двм
This commit is contained in:
@@ -103,7 +103,7 @@ public abstract class TestingPlanner<P extends TestingPackage> extends TestingCl
|
||||
ServerCommand(ServerCode.EditObject, testingPackage);
|
||||
}
|
||||
public abstract String packageDescription();
|
||||
void EmailPackage() throws Exception {
|
||||
protected void EmailPackage() throws Exception {
|
||||
if (testingPackage.needsEmail == 1) {
|
||||
EmailMessage message = new EmailMessage();
|
||||
message.subject = "Состояние пакета тестирования " + packageDescription() + " " +
|
||||
|
||||
@@ -231,6 +231,14 @@ public class RemoteDVMTestingPlanner extends DVMTestingPlanner {
|
||||
Disconnect();
|
||||
}
|
||||
//--
|
||||
if (state_changed)
|
||||
switch (testingPackage.state) {
|
||||
case CompilationExecution:
|
||||
case RunningExecution:
|
||||
EmailPackage();
|
||||
break;
|
||||
}
|
||||
//--
|
||||
return progress_changed || state_changed;
|
||||
}
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user