From 093cd4627a087cfb3b7570a6c754895ba1798a3b Mon Sep 17 00:00:00 2001
From: juzimao <578961953@qq.com>
Date: Sun, 29 May 2022 18:44:26 +0800
Subject: [PATCH] [Fix] Fix the line.separator problem for alert-plugin' test
case #10277 (#10278)
* [Fix] Fix the line.separator problem for alert-plugin' test case
* [Fix] Fix the line.separator problem for alert-plugin' test case
(cherry picked from commit 62bd9d2c4c0ee110687d1454a34209a77f175d94)
---
.../plugin/alert/email/template/DefaultHTMLTemplateTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dolphinscheduler-alert/dolphinscheduler-alert-plugins/dolphinscheduler-alert-email/src/test/java/org/apache/dolphinscheduler/plugin/alert/email/template/DefaultHTMLTemplateTest.java b/dolphinscheduler-alert/dolphinscheduler-alert-plugins/dolphinscheduler-alert-email/src/test/java/org/apache/dolphinscheduler/plugin/alert/email/template/DefaultHTMLTemplateTest.java
index d53c95bfbd..bc357cd34a 100644
--- a/dolphinscheduler-alert/dolphinscheduler-alert-plugins/dolphinscheduler-alert-email/src/test/java/org/apache/dolphinscheduler/plugin/alert/email/template/DefaultHTMLTemplateTest.java
+++ b/dolphinscheduler-alert/dolphinscheduler-alert-plugins/dolphinscheduler-alert-email/src/test/java/org/apache/dolphinscheduler/plugin/alert/email/template/DefaultHTMLTemplateTest.java
@@ -76,7 +76,7 @@ public class DefaultHTMLTemplateTest {
return EmailConstants.HTML_HEADER_PREFIX
+ ""
+ " "
- + "\n"
+ + ""+System.getProperty("line.separator")
+ "mysql service name mysql address database client connections port no index of number