Browse Source

[Improvement][spi-alert]script plugin should contain alert content

fix alert params contain space not parse

fix  stream not close
pull/3/MERGE
CalvinKirs 4 years ago
parent
commit
af00de357a
  1. 1
      dolphinscheduler-alert-plugin/dolphinscheduler-alert-script/src/test/java/org/apache/dolphinscheduler/plugin/alert/script/ScriptSenderTest.java

1
dolphinscheduler-alert-plugin/dolphinscheduler-alert-script/src/test/java/org/apache/dolphinscheduler/plugin/alert/script/ScriptSenderTest.java

@ -47,6 +47,7 @@ public class ScriptSenderTest {
@Test @Test
public void testScriptSenderTest() { public void testScriptSenderTest() {
ScriptSender scriptSender = new ScriptSender(scriptConfig); ScriptSender scriptSender = new ScriptSender(scriptConfig);
AlertResult alertResult; AlertResult alertResult;
alertResult = scriptSender.sendScriptAlert("test title Kris", "test content"); alertResult = scriptSender.sendScriptAlert("test title Kris", "test content");

Loading…
Cancel
Save