From e82c9bd023fed39f61e4e4702cc75f614356f990 Mon Sep 17 00:00:00 2001 From: yantian Date: Wed, 18 Dec 2024 16:35:37 +0800 Subject: [PATCH] fix test fail --- .../test/java/org/apache/paimon/rest/RESTObjectMapperTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paimon-core/src/test/java/org/apache/paimon/rest/RESTObjectMapperTest.java b/paimon-core/src/test/java/org/apache/paimon/rest/RESTObjectMapperTest.java index 0e5a71be39c0..1cf382a9f438 100644 --- a/paimon-core/src/test/java/org/apache/paimon/rest/RESTObjectMapperTest.java +++ b/paimon-core/src/test/java/org/apache/paimon/rest/RESTObjectMapperTest.java @@ -103,7 +103,7 @@ public void listDatabaseResponseParseTest() throws Exception { ListDatabasesResponse parseData = mapper.readValue(responseStr, ListDatabasesResponse.class); assertEquals(response.getDatabases().size(), parseData.getDatabases().size()); - assertEquals(name, parseData.getDatabases().get(0).getName()); + assertEquals(name, parseData.getDatabases().get(0)); } @Test