From 3ba74e7692143fd6dcf4dd885f80f95dfef8387e Mon Sep 17 00:00:00 2001
From: zmc <zmc_li@foxmail.com>
Date: 星期四, 23 十一月 2023 16:09:41 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/feature-risk_analysis' into feature-risk_analysis

---
 src/test/java/com/flightfeather/monitor/analysis/dust/ExceptionAnalysisControllerTest.kt |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/test/java/com/flightfeather/monitor/analysis/dust/ExceptionAnalysisControllerTest.kt b/src/test/java/com/flightfeather/monitor/analysis/dust/ExceptionAnalysisControllerTest.kt
index 6c31c13..99cde34 100644
--- a/src/test/java/com/flightfeather/monitor/analysis/dust/ExceptionAnalysisControllerTest.kt
+++ b/src/test/java/com/flightfeather/monitor/analysis/dust/ExceptionAnalysisControllerTest.kt
@@ -27,9 +27,9 @@
     @Test
     fun run() {
         exceptionAnalysisController.init()
-        var d1 = LocalDate.of(2023, 10, 26)
-        val d2 = LocalDate.of(2023, 10, 26)
-        while (Duration.between(d1.atStartOfDay(), d2.atStartOfDay()).toDays() >= 0L) {
+        var d1 = LocalDate.of(2023, 7, 1)
+        val d2 = LocalDate.of(2023, 11, 21)
+        while (d1.isEqual(d2) || d1.isBefore(d2)) {
             exceptionAnalysisController.run(d1)
             d1 = d1.plusDays(1)
         }

--
Gitblit v1.9.3