Browse Source

fix_bug: test transactional EntityView add TreadSleep

pull/7357/head
nickAS21 4 years ago
parent
commit
e13c238f91
  1. 1
      application/src/test/java/org/thingsboard/server/controller/BaseEntityViewControllerTest.java

1
application/src/test/java/org/thingsboard/server/controller/BaseEntityViewControllerTest.java

@ -815,6 +815,7 @@ public abstract class BaseEntityViewControllerTest extends AbstractControllerTes
@Test
public void testDeleteEntityViewExceptionWithRelationsTransactional() throws Exception {
Thread.sleep(1000);
EntityViewId entityViewId = getNewSavedEntityView("EntityView for Test WithRelations Transactional Exception").getId();
testEntityDaoWithRelationsTransactionalException(entityViewDao, tenantId, entityViewId, "/api/entityView/" + entityViewId);
}

Loading…
Cancel
Save