File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
apps/testing/src/main/java/com/akto/testing
libs/dao/src/main/java/com/akto/dto/testing Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,8 @@ private static TestingRunResultSummary createTRRSummaryIfAbsent(TestingRun testi
101
101
Updates .set (TestingRunResultSummary .STATE , TestingRun .State .RUNNING ),
102
102
Updates .setOnInsert (TestingRunResultSummary .START_TIMESTAMP , start ),
103
103
Updates .set (TestingRunResultSummary .TEST_RESULTS_COUNT , 0 ),
104
- Updates .set (TestingRunResultSummary .COUNT_ISSUES , emptyCountIssuesMap )
104
+ Updates .set (TestingRunResultSummary .COUNT_ISSUES , emptyCountIssuesMap ),
105
+ Updates .set (TestingRunResultSummary .IS_NEW_TESTING_RUN_RESULT_SUMMARY , true )
105
106
),
106
107
new FindOneAndUpdateOptions ().upsert (true ).returnDocument (ReturnDocument .AFTER )
107
108
);
@@ -517,6 +518,7 @@ public void run() {
517
518
trrs .setState (State .RUNNING );
518
519
trrs .setTestResultsCount (0 );
519
520
trrs .setCountIssues (emptyCountIssuesMap );
521
+ trrs .setNewTestingSummary (true );
520
522
TestingRunResultSummariesDao .instance .insertOne (trrs );
521
523
summaryId = trrs .getId ();
522
524
} else {
Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ public String toString() {
176
176
"}" ;
177
177
}
178
178
179
- public boolean isNewTestingSummary () {
179
+ public boolean getNewTestingSummary () {
180
180
return isNewTestingSummary ;
181
181
}
182
182
You can’t perform that action at this time.
0 commit comments