Browse Source

relational query failed test when createHorizontalRingRelations added and freeze when createLoopRelations (due to infinite recursion with no level limit)

pull/5364/head
Sergey Matvienko 5 years ago
parent
commit
99476c78c9
  1. 2
      dao/src/test/java/org/thingsboard/server/dao/service/BaseEntityServiceTest.java

2
dao/src/test/java/org/thingsboard/server/dao/service/BaseEntityServiceTest.java

@ -567,7 +567,7 @@ public abstract class BaseEntityServiceTest extends AbstractServiceTest {
}
createManyCustomRelationsBetweenTwoNodes(tenantId, "UseCase", assets, devices);
//createHorizontalRingRelations(tenantId, "Ring(Loop)-Ast", assets);
createHorizontalRingRelations(tenantId, "Ring(Loop)-Ast", assets);
//createLoopRelations(tenantId, "Loop-Tnt-Ast-Dev", tenantId, assets.get(0).getId(), devices.get(0).getId());
//createLoopRelations(tenantId, "Loop-Tnt-Ast", tenantId, assets.get(1).getId());
//createLoopRelations(tenantId, "Loop-Ast-Tnt-Ast", assets.get(2).getId(), tenantId, assets.get(3).getId());

Loading…
Cancel
Save