From 5bda6fd37fe2c13fcd206718696cd5950620eaed 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 a8ac4eef11220..85aa0a1ee9725 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");