diff --git a/linkis-public-enhancements/linkis-instance-label-server/src/test/java/org/apache/linkis/instance/label/dao/InstanceInfoDaoTest.java b/linkis-public-enhancements/linkis-instance-label-server/src/test/java/org/apache/linkis/instance/label/dao/InstanceInfoDaoTest.java index 13136d5d98..d116da42c0 100644 --- a/linkis-public-enhancements/linkis-instance-label-server/src/test/java/org/apache/linkis/instance/label/dao/InstanceInfoDaoTest.java +++ b/linkis-public-enhancements/linkis-instance-label-server/src/test/java/org/apache/linkis/instance/label/dao/InstanceInfoDaoTest.java @@ -34,7 +34,6 @@ public class InstanceInfoDaoTest extends BaseDaoTest { void insert() { InstanceInfo instanceInfo = new InstanceInfo(); - instanceInfo.setId(1); instanceInfo.setInstance("testInstance"); instanceInfo.setApplicationName("testApplicationName"); instanceInfoDao.insertOne(instanceInfo);