Skip to content

Commit

Permalink
fix: re-running locally, the new configuration does not take effect. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
coryhh authored Aug 26, 2024
1 parent 0cb1adf commit 8fb923d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions arex-schedule-web-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
<parent>
<artifactId>arex-schedule-parent</artifactId>
<groupId>com.arextest</groupId>
<version>1.2.15</version>
<version>1.2.17</version>
</parent>

<profiles>
Expand Down Expand Up @@ -338,5 +338,5 @@
</properties>
</profile>
</profiles>
<version>1.2.15</version>
<version>1.2.17</version>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ public CommonResponse queryReRunCaseId(ReRunReplayPlanRequest request) {
progressEvent.onReplayPlanReRun(replayPlan);
progressEvent.onUpdateFailedCases(replayPlan, failedCaseList);
planConsumePrepareService.updateFailedActionAndCase(replayPlan, failedCaseList);
compareConfigService.preload(replayPlan);
cacheReplayPlan(replayPlan);
if (CollectionUtils.isEmpty(replayPlan.getReplayActionItemList())) {
throw new RuntimeException("no replayActionItem!");
Expand Down Expand Up @@ -262,6 +263,7 @@ private void cacheReplayPlan(ReplayPlan replayPlan) {
JsonUtils.objectToJsonString(replayPlanForCache).getBytes(StandardCharsets.UTF_8));
}

@SuppressWarnings("java:S1181")
private ReplayPlanForCache loadReplayPlanCache(String planId) {
try {
byte[] json = doWithRetry(
Expand All @@ -285,6 +287,7 @@ private byte[] doWithRetry(Supplier<byte[]> action) {
}
}

@SuppressWarnings("java:S1181")
private ReplayActionItemForCache loadReplayActionItemCache(String planItemId) {
try {
byte[] json = doWithRetry(
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.16</version>
<version>1.2.17</version>
</project>

0 comments on commit 8fb923d

Please sign in to comment.