From b5549aa261af8a9dba5d7cd7e52a13f65e8eb034 Mon Sep 17 00:00:00 2001 From: Jingsong Date: Sun, 11 Aug 2024 21:10:59 +0800 Subject: [PATCH] fix tests --- .../procedure/CreateAndDeleteBranchProcedureTest.scala | 8 -------- 1 file changed, 8 deletions(-) diff --git a/paimon-spark/paimon-spark-common/src/test/scala/org/apache/paimon/spark/procedure/CreateAndDeleteBranchProcedureTest.scala b/paimon-spark/paimon-spark-common/src/test/scala/org/apache/paimon/spark/procedure/CreateAndDeleteBranchProcedureTest.scala index b779b6a7f6fc..9f9b0e3a9985 100644 --- a/paimon-spark/paimon-spark-common/src/test/scala/org/apache/paimon/spark/procedure/CreateAndDeleteBranchProcedureTest.scala +++ b/paimon-spark/paimon-spark-common/src/test/scala/org/apache/paimon/spark/procedure/CreateAndDeleteBranchProcedureTest.scala @@ -100,14 +100,6 @@ class CreateAndDeleteBranchProcedureTest extends PaimonSparkTestBase with Stream Row(true) :: Nil) assert(!branchManager.branchExists("test_branch")) - // delete branch:snapshot_branch_2 and snapshot_branch_3 - checkAnswer( - spark.sql( - "CALL paimon.sys.delete_branch(table => 'test.T', branch => 'snapshot_branch_2,snapshot_branch_3')"), - Row(true) :: Nil) - assert(!branchManager.branchExists("snapshot_branch_2")) - assert(!branchManager.branchExists("snapshot_branch_3")) - } finally { stream.stop() }