From 547802c19622676da4aaad65d62413fd489b4867 Mon Sep 17 00:00:00 2001
From: manuzhang <owenzhang1990@gmail.com>
Date: Tue, 19 Nov 2024 18:31:38 +0800
Subject: [PATCH] Hive3: Fix tests not running

---
 hive3/build.gradle | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/hive3/build.gradle b/hive3/build.gradle
index f8bb50951fb1..70e07a5d6003 100644
--- a/hive3/build.gradle
+++ b/hive3/build.gradle
@@ -27,8 +27,9 @@ project(':iceberg-hive3') {
     }
   }
 
-  // exclude these Hive2-specific tests from iceberg-mr
   test {
+    useJUnitPlatform()
+    // exclude these Hive2-specific tests from iceberg-mr
     exclude '**/TestIcebergDateObjectInspector.class'
     exclude '**/TestIcebergTimestampObjectInspector.class'
     exclude '**/TestIcebergTimestampWithZoneObjectInspector.class'