|
|
@ -20,6 +20,7 @@ import lombok.extern.slf4j.Slf4j; |
|
|
import org.assertj.core.data.Offset; |
|
|
import org.assertj.core.data.Offset; |
|
|
import org.java_websocket.client.WebSocketClient; |
|
|
import org.java_websocket.client.WebSocketClient; |
|
|
import org.junit.Before; |
|
|
import org.junit.Before; |
|
|
|
|
|
import org.junit.Ignore; |
|
|
import org.junit.Test; |
|
|
import org.junit.Test; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.thingsboard.rule.engine.api.NotificationCenter; |
|
|
import org.thingsboard.rule.engine.api.NotificationCenter; |
|
|
@ -476,6 +477,7 @@ public class NotificationApiTest extends AbstractNotificationApiTest { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@Test |
|
|
@Test |
|
|
|
|
|
@Ignore |
|
|
public void testNotificationsForALotOfUsers() throws Exception { |
|
|
public void testNotificationsForALotOfUsers() throws Exception { |
|
|
int usersCount = 5000; |
|
|
int usersCount = 5000; |
|
|
|
|
|
|
|
|
@ -521,6 +523,7 @@ public class NotificationApiTest extends AbstractNotificationApiTest { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@Test |
|
|
@Test |
|
|
|
|
|
@Ignore |
|
|
public void testSlackNotifications() throws Exception { |
|
|
public void testSlackNotifications() throws Exception { |
|
|
NotificationSettings settings = new NotificationSettings(); |
|
|
NotificationSettings settings = new NotificationSettings(); |
|
|
SlackNotificationDeliveryMethodConfig slackConfig = new SlackNotificationDeliveryMethodConfig(); |
|
|
SlackNotificationDeliveryMethodConfig slackConfig = new SlackNotificationDeliveryMethodConfig(); |
|
|
|