edge test speed up
This commit is contained in:
parent
16e3a6e177
commit
3c6d70b2c4
@ -102,7 +102,8 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
|
|||||||
|
|
||||||
@TestPropertySource(properties = {
|
@TestPropertySource(properties = {
|
||||||
"edges.enabled=true",
|
"edges.enabled=true",
|
||||||
"queue.rule-engine.stats.enabled=false"
|
"queue.rule-engine.stats.enabled=false",
|
||||||
|
"edges.storage.sleep_between_batches=1000"
|
||||||
})
|
})
|
||||||
abstract public class AbstractEdgeTest extends AbstractControllerTest {
|
abstract public class AbstractEdgeTest extends AbstractControllerTest {
|
||||||
|
|
||||||
|
|||||||
@ -22,7 +22,6 @@ import com.google.protobuf.AbstractMessage;
|
|||||||
import org.awaitility.Awaitility;
|
import org.awaitility.Awaitility;
|
||||||
import org.junit.Assert;
|
import org.junit.Assert;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.springframework.test.context.TestPropertySource;
|
|
||||||
import org.thingsboard.common.util.JacksonUtil;
|
import org.thingsboard.common.util.JacksonUtil;
|
||||||
import org.thingsboard.server.common.data.DataConstants;
|
import org.thingsboard.server.common.data.DataConstants;
|
||||||
import org.thingsboard.server.common.data.Device;
|
import org.thingsboard.server.common.data.Device;
|
||||||
@ -42,9 +41,6 @@ import java.util.List;
|
|||||||
import java.util.concurrent.TimeUnit;
|
import java.util.concurrent.TimeUnit;
|
||||||
|
|
||||||
@DaoSqlTest
|
@DaoSqlTest
|
||||||
@TestPropertySource(properties = {
|
|
||||||
"edges.storage.sleep_between_batches=1000"
|
|
||||||
})
|
|
||||||
public class TelemetryEdgeTest extends AbstractEdgeTest {
|
public class TelemetryEdgeTest extends AbstractEdgeTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user