Add sleep in smtp tests
This commit is contained in:
parent
a5f4c78346
commit
78a44239e9
|
|
@ -138,6 +138,8 @@ func TestSMTP_Send(t *testing.T) {
|
|||
}
|
||||
}()
|
||||
|
||||
time.Sleep(time.Second * 5)
|
||||
|
||||
err = smtpClient.Send(smtpEvent, v1alpha2.Notification{
|
||||
SMTP: &v1alpha2.SMTP{
|
||||
Server: "localhost",
|
||||
|
|
|
|||
Loading…
Reference in New Issue