World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
Java ai-catalogdata-catalogdatalakefederated-querylakehousemetadatametalakemodel-catalogopendatacatalogskycomputingstratosphere
Fix incorrect name/comment assignment in TestModelMetaService tests (#8296)
JeonDaehongbce78de47b96
diff --git a/core/src/test/java/org/apache/gravitino/storage/relational/service/TestModelMetaService.java b/core/src/test/java/org/apache/gravitino/storage/relational/service/TestModelMetaService.javaindex b66601aae9..b10b1adcab 100644--- a/core/src/test/java/org/apache/gravitino/storage/relational/service/TestModelMetaService.java+++ b/core/src/test/java/org/apache/gravitino/storage/relational/service/TestModelMetaService.java@@ -266,11 +266,11 @@ public class TestModelMetaService extends TestJDBCBackend {ModelEntity updatedModel =ModelEntity.builder().withId(modelEntity.id())- .withName(newComment)+ .withName(modelEntity.name()).withNamespace(modelEntity.namespace()).withLatestVersion(modelEntity.latestVersion()).withAuditInfo(modelEntity.auditInfo())- .withComment(modelEntity.comment())+ .withComment(newComment).withProperties(modelEntity.properties()).build();@@ -309,7 +309,7 @@ public class TestModelMetaService extends TestJDBCBackend {ModelEntity updatedModel =ModelEntity.builder().withId(modelEntity.id())- .withName(modelEntity.comment())+ .withName(modelEntity.name()).withNamespace(modelEntity.namespace()).withLatestVersion(modelEntity.latestVersion()).withAuditInfo(modelEntity.auditInfo())