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() }