From 3a68fabf1c5ca6e18bfae2dab29a726df9c02919 Mon Sep 17 00:00:00 2001 From: yiming <107105845+nshangyiming@users.noreply.github.com> Date: Mon, 1 Apr 2024 20:38:43 +0800 Subject: [PATCH] [UT] Fix testConcurrentlyDropDbAndCreateTable running too slow (#43470) Signed-off-by: Dejun Xia (cherry picked from commit 5b42b0eaa42406057abe3ef03b1e4661030f3d0e) --- .../src/test/java/com/starrocks/server/ConcurrentDDLTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fe/fe-core/src/test/java/com/starrocks/server/ConcurrentDDLTest.java b/fe/fe-core/src/test/java/com/starrocks/server/ConcurrentDDLTest.java index 849f7c9e721a3..4e149c51fe9e3 100644 --- a/fe/fe-core/src/test/java/com/starrocks/server/ConcurrentDDLTest.java +++ b/fe/fe-core/src/test/java/com/starrocks/server/ConcurrentDDLTest.java @@ -150,7 +150,7 @@ public void testConcurrentlyDropDbAndCreateTable() throws Exception { Thread controlThread = new Thread(() -> { int times = 0; Random random = new Random(); - while (times < 10) { + while (times < 5) { try { System.out.println("creating table and db time: " + times); starRocksAssert.withDatabase("concurrent_test_db");