Skip to content

Commit

Permalink
Fix/empty local plan (#350)
Browse files Browse the repository at this point in the history
* fix: redundant report init
  • Loading branch information
QizhengMo authored Aug 26, 2024
1 parent 9df9587 commit 0cb1adf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public int preparePlan(ReplayPlan replayPlan) {
}
replayStorageService.clearReplayScenes(replayPlan.getAppId());
int planSavedCaseSize = prepareAllActions(replayPlan.getReplayActionItemList());
if (!replayPlan.isReRun()) {
if (!replayPlan.isReRun() && planSavedCaseSize != 0) {
replayPlan.setCaseTotalCount(planSavedCaseSize);
replayPlanRepository.updateCaseTotal(replayPlan.getId(), planSavedCaseSize);
replayPlan.setInitReportItem(true);
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -320,5 +320,5 @@
<url>https://github.com/arextest/arex-replay-schedule</url>
</scm>
<url>https://github.com/arextest/arex-replay-schedule</url>
<version>1.2.15</version>
<version>1.2.16</version>
</project>

0 comments on commit 0cb1adf

Please sign in to comment.