Merge pull request #8281 from YevhenBondarenko/develop/3.5-fixes
[3.5]minor tests fixes
This commit is contained in:
		
						commit
						8edc55d48e
					
				@ -95,6 +95,7 @@ public class DefaultTbEntityDataSubscriptionService implements TbEntityDataSubsc
 | 
			
		||||
    private final Map<String, Map<Integer, TbAbstractSubCtx>> subscriptionsBySessionId = new ConcurrentHashMap<>();
 | 
			
		||||
 | 
			
		||||
    @Autowired
 | 
			
		||||
    @Lazy
 | 
			
		||||
    private WebSocketService wsService;
 | 
			
		||||
 | 
			
		||||
    @Autowired
 | 
			
		||||
 | 
			
		||||
@ -249,7 +249,7 @@ public abstract class BaseHomePageApiTest extends AbstractControllerTest {
 | 
			
		||||
        Assert.assertEquals(7, listData.get(0).getTimeseries().size());
 | 
			
		||||
 | 
			
		||||
        for (TsValue[] tsv : listData.get(0).getTimeseries().values()) {
 | 
			
		||||
            Assert.assertTrue(tsv.length > 1);
 | 
			
		||||
            Assert.assertTrue(tsv.length > 0);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -20,6 +20,7 @@ import lombok.extern.slf4j.Slf4j;
 | 
			
		||||
import org.assertj.core.data.Offset;
 | 
			
		||||
import org.java_websocket.client.WebSocketClient;
 | 
			
		||||
import org.junit.Before;
 | 
			
		||||
import org.junit.Ignore;
 | 
			
		||||
import org.junit.Test;
 | 
			
		||||
import org.springframework.beans.factory.annotation.Autowired;
 | 
			
		||||
import org.thingsboard.rule.engine.api.NotificationCenter;
 | 
			
		||||
@ -476,6 +477,7 @@ public class NotificationApiTest extends AbstractNotificationApiTest {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Test
 | 
			
		||||
    @Ignore
 | 
			
		||||
    public void testNotificationsForALotOfUsers() throws Exception {
 | 
			
		||||
        int usersCount = 5000;
 | 
			
		||||
 | 
			
		||||
@ -521,6 +523,7 @@ public class NotificationApiTest extends AbstractNotificationApiTest {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Test
 | 
			
		||||
    @Ignore
 | 
			
		||||
    public void testSlackNotifications() throws Exception {
 | 
			
		||||
        NotificationSettings settings = new NotificationSettings();
 | 
			
		||||
        SlackNotificationDeliveryMethodConfig slackConfig = new SlackNotificationDeliveryMethodConfig();
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user