diff --git a/alert_test.go b/alert_test.go index ff15a5d..938ba82 100644 --- a/alert_test.go +++ b/alert_test.go @@ -70,14 +70,6 @@ func TestAlertSend(t *testing.T) { "Command shell with bad template", false, }, - { - Alert{Command: CommandOrShell{ShellCommand: "echo {alert_message}"}}, - AlertNotice{MonitorName: "test", FailureCount: 1}, - "test check has failed 1 times\n", - false, - "Command shell with legacy template", - true, - }, // Test default log alert down { *NewLogAlert(), diff --git a/test/valid-config.yml b/test/valid-config.yml index 3860e95..da0a264 100644 --- a/test/valid-config.yml +++ b/test/valid-config.yml @@ -1,5 +1,5 @@ --- -check_interval: 1 +check_interval: 1s monitors: - name: Command