заполнение времени при таймауте maxtime+1

This commit is contained in:
2023-12-08 00:58:48 +03:00
parent 9c6d5d57e1
commit 25d5c4b7f0
2 changed files with 2 additions and 6 deletions

6
.idea/workspace.xml generated
View File

@@ -6,11 +6,7 @@
</artifacts-to-build>
</component>
<component name="ChangeListManager">
<list default="true" id="e42177c3-2328-4b27-8a01-35779b2beb99" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/Common/Constants.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/Common/Constants.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/Common/Utils/Utils.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/Common/Utils/Utils.java" afterDir="false" />
</list>
<list default="true" id="e42177c3-2328-4b27-8a01-35779b2beb99" name="Default Changelist" comment="" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />

View File

@@ -192,7 +192,7 @@ public class TestsSupervisor_2022 {
//--
TestTask task = sorted_tasks.get(id);
task.state = state;
task.Time = time;
task.Time = state.equals(TaskState.AbortedByTimeout)?(task.maxtime+1):time;
}
}
}