From 51a8f48807e6777f1597c1c5fdbb705f418321b9 Mon Sep 17 00:00:00 2001 From: Askwang <135721692+Askwang@users.noreply.github.com> Date: Wed, 9 Oct 2024 17:01:00 +0800 Subject: [PATCH] 1 --- .../java/org/apache/paimon/table/FileStoreTableTestBase.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/paimon-core/src/test/java/org/apache/paimon/table/FileStoreTableTestBase.java b/paimon-core/src/test/java/org/apache/paimon/table/FileStoreTableTestBase.java index 16dac2046b33..f8b15c155f63 100644 --- a/paimon-core/src/test/java/org/apache/paimon/table/FileStoreTableTestBase.java +++ b/paimon-core/src/test/java/org/apache/paimon/table/FileStoreTableTestBase.java @@ -1425,10 +1425,7 @@ public void testDeleteTag() throws Exception { table.createTag("tag1", 1); table.deleteTag("tag1"); - assertThatThrownBy(() -> table.deleteTag("tag1")) - .satisfies( - anyCauseMatches( - IllegalArgumentException.class, "Tag 'tag1' doesn't exist.")); + assertThat(table.tagManager().tags().containsValue("tag1")).isFalse(); } @Test